Hello,
Can someone help on this ?
I am getting err
failed: [xxx01] => {“failed”: true}
msg: src (or content) and dest are required
FATAL: all hosts have already failed – aborting
- name: Set puppet.conf
copy: src=/etc/ansible/playbooks/files/puppet-Prod.conf dest:/etc/puppetlabs/puppet/puppet.conf mode=0644 force - name: Run puppet agent in test mode
command: puppet agent -t
I am using ansible to install puppet client here.
It fails while tryng to overwrite the file puppet.conf