Thanks Scott , i figured it out too.

I wanted to update but the post was under moderator review so i could not.

On Friday, August 5, 2016 at 7:23:40 AM UTC-7, Scott Sturdivant wrote:
>
> dest:/etc/...  --> dest=/etc/...
>
> On Fri, Aug 5, 2016 at 7:12 AM Kiran Patil <[email protected] 
> <javascript:>> wrote:
>
>>
>> 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 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/a85cffd8-644c-4fe2-b714-233ad4c63978%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/a85cffd8-644c-4fe2-b714-233ad4c63978%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4de59432-1e7d-4a58-acbc-2233a8c8e899%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to