Ansible running as your user does not have permission to create directory. You should add "sudo: yes" at the top in the ansible playbook? Does your user have sudo privilege?
From: <[email protected]<mailto:[email protected]>> on behalf of GBANE FETIGUE <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, October 27, 2015 at 10:06 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Need help jenkins /ansible hey Guys Is anybody has an idea about that error message PLAY [Deploy to status servers] *********************************************** GATHERING FACTS *************************************************************** ok: [172.16.21.129] TASK: [nodejs_app | Put upstart script in place] ****************************** changed: [172.16.21.129] TASK: [nodejs_app | Create config directory] ********************************** failed: [172.16.21.129] => {"failed": true, "item": "", "parsed": false} invalid output was: Traceback (most recent call last): File "/var/lib/jenkins/.ansible/tmp/ansible-1445961024.27-103100734571092/file", line 1357, in <module> main() File "/var/lib/jenkins/.ansible/tmp/ansible-1445961024.27-103100734571092/file", line 263, in main os.makedirs(path) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/config' FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/var/lib/jenkins/deploy_system_status.retry 172.16.21.129 : ok=2 changed=1 unreachable=0 failed=1 -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fe359efc-e95a-4c39-9400-42a6b35d8302%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/fe359efc-e95a-4c39-9400-42a6b35d8302%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 "Jenkins Users" 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/jenkinsci-users/D255CE4B.322F3%25ingunawa%40cisco.com. For more options, visit https://groups.google.com/d/optout.
