File Transfer
$ ansible europe -m copy -a "src=/etc/hosts dest=/tmp/hosts" $ ansible webservers -m file -a "dest=/srv/foo/a.txt mode=600" $ ansible webservers -m file -a "dest=/srv/foo/b.txt mode=600 owner=example group=example" $ ansible webservers -m file -a "dest=/path/to/c mode=755 owner=example group=example state=directory“ $ ansible webservers -m file -a "dest=/path/to/c state=absentLast updated