Skip to content

Instantly share code, notes, and snippets.

@areina
Created October 16, 2017 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save areina/8f4852b9e352468c7c0f747b11444c66 to your computer and use it in GitHub Desktop.
Save areina/8f4852b9e352468c7c0f747b11444c66 to your computer and use it in GitHub Desktop.
error - ansible provisioning
The full traceback is:
File "/tmp/ansible_NvoXyJ/ansible_modlib.zip/ansible/module_utils/basic.py", line 2744, in run_command
cmd = subprocess.Popen(args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
[WARNING]: As of Ansible 2.4, the parameter 'executable' is no longer
supported with the 'command' module. Not using '/bin/bash'.
fatal: [default]: FAILED! => {
"changed": false,
"cmd": "source /home/vagrant/.bashrc",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "source /home/vagrant/.bashrc",
"_uses_shell": false,
"chdir": null,
"creates": null,
"executable": "/bin/bash",
"removes": null,
"stdin": null,
"warn": true
}
},
"msg": "[Errno 2] No such file or directory",
"rc": 2
}
to retry, use: --limit @/Users/toni/Development/code-challenges/raulgonzm/github_top_contributors/provision/playbook.retry
PLAY RECAP *********************************************************************
default : ok=19 changed=3 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment