I need to copy file /etc/resolv.conf
from a remote host and copy it on multiple remote hosts.
my hosts:
Ansible
ubuntu1-4
I want to copy this file from ubuntu1
to ubuntu2
, ubuntu3
and ubuntu4
I tried the synchronize
module but I can't/don't want to use rsync
as a demon on ubuntu1-4
.
Is there a better way than copying it on Ansible and from Ansible to ubuntu2
till 4
?