Hi,
I dont know whenether im going nuts or just havent RTFM enough, but the following is my issue;
When using ansibile from command-line to copy an file it works perfect;
ansible test.domain.local -m copy -a “src=/mgmt/cmdb/shared/etc/exim.conf dest=/etc/exim.conf owner=root group=root mode=0644”
test.domain.locall | success >> {
“changed”: true,
“gid”: 0,
“group”: “root”,
“mode”: “0644”,
“owner”: “root”,
“path”: “/etc/exim.conf”,
“size”: 2660,
“state”: “file”,
“uid”: 0
}
Every change i write to the file is being updated to the remote host and its being updated vice versa, etc.
However; when i use it in an playbook;
"