Skip to content

Instantly share code, notes, and snippets.

@a1git
Last active October 5, 2016 20:42
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 a1git/164848c8c4204cf3b84cb5c69046eea8 to your computer and use it in GitHub Desktop.
Save a1git/164848c8c4204cf3b84cb5c69046eea8 to your computer and use it in GitHub Desktop.
<172.29.236.14> SSH: EXEC ssh -C -q -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAut│·············
hentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o│·············
StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no │·············
-o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 172.29.236.14 'lxc-attach --name c14_keystone_container-5114b0e1 -- /bin/sh -c '$│·············
'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python && sleep 0'"'"'' │·············
An exception occurred during task execution. The full traceback is: │·············
Traceback (most recent call last): │·············
File "/tmp/ansible_R74rWh/ansible_module_cron.py", line 700, in <module> │·············
main() │·············
File "/tmp/ansible_R74rWh/ansible_module_cron.py", line 645, in main │·············
job = crontab.get_cron_job(minute, hour, day, month, weekday, job, special_time, disabled) │·············
File "/tmp/ansible_R74rWh/ansible_module_cron.py", line 385, in get_cron_job │·············
job = job.strip('\r\n') │·············
AttributeError: 'NoneType' object has no attribute 'strip' │·············
│·············
fatal: [c15_keystone_container-02d0ff04]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "cron"}, "module_stderr": "Traceback (m$│·············
st recent call last):\n File \"/tmp/ansible_R74rWh/ansible_module_cron.py\", line 700, in <module>\n main()\n File \"/tmp/ansible_R74rWh/ansible_module_$│·············
ron.py\", line 645, in main\n job = crontab.get_cron_job(minute, hour, day, month, weekday, job, special_time, disabled)\n File \"/tmp/ansible_R74rWh/ans$│·············
ble_module_cron.py\", line 385, in get_cron_job\n job = job.strip('\\r\\n')\nAttributeError: 'NoneType' object has no attribute 'strip'\n", "module_stdout$│·············
: "", "msg": "MODULE FAILURE"} │·············
An exception occurred during task execution. The full traceback is: │·············
Traceback (most recent call last): │·············
File "/tmp/ansible_2lXmxT/ansible_module_cron.py", line 700, in <module> │·············
main() │·············
File "/tmp/ansible_2lXmxT/ansible_module_cron.py", line 645, in main │·············
job = crontab.get_cron_job(minute, hour, day, month, weekday, job, special_time, disabled) │·············
File "/tmp/ansible_2lXmxT/ansible_module_cron.py", line 385, in get_cron_job │·············
job = job.strip('\r\n') │·············
AttributeError: 'NoneType' object has no attribute 'strip' │·············
│·············
fatal: [c14_keystone_container-5114b0e1]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "cron"}, "module_stderr": "Traceback (mo│·············
st recent call last):\n File \"/tmp/ansible_2lXmxT/ansible_module_cron.py\", line 700, in <module>\n main()\n File \"/tmp/ansible_2lXmxT/ansible_module_c│·············
ron.py\", line 645, in main\n job = crontab.get_cron_job(minute, hour, day, month, weekday, job, special_time, disabled)\n File \"/tmp/ansible_2lXmxT/ansi│·············
ble_module_cron.py\", line 385, in get_cron_job\n job = job.strip('\\r\\n')\nAttributeError: 'NoneType' object has no attribute 'strip'\n", "module_stdout"│·············
: "", "msg": "MODULE FAILURE"} │·············
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment