Hi All,

Need your guidance.

I am trying to create a file  on Ansible Tower local host.

Below is the task which syntax

---
- name: create some file file: path=/tmp/risratho.txt state=touch 
mode='0755' delegate_to: localhost 

it is working fine on ansible engine.

fatal: [80.0.20.219 -> localhost]: FAILED! => {
 "changed": false,
 "module_stderr": "/bin/sh: sudo: command not found\n",
 "module_stdout": "",
 "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
 "rc": 127
}


please help me ...


Regards
Kundan Singh


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2dca216f-ff0d-4e74-b43e-c5b210e14f4eo%40googlegroups.com.

Reply via email to