Hello @Toshio ,

Thanks for your response, i tried and i changed in the ansible.cfg file to 
remote_tmp: /var/tmp and still same error....
Yaml file i am using.... 
 name: using
 hosts: all
 tasks:
   - name: creates directory
     file:
       path: /etc/xxxx
       state: directory
       owner: root
       group: root
       mode: 0755

Error i am getting.... 

"msg": "There was an issue creating /etc/xxxx as requested: [Errno 13] 
Permission denied: b'/etc/xxxx'  


Any help.....

thanks 

-- 
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/c0a24201-6403-4207-836b-2b10d7ff558b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to