Guest User

Untitled

a guest
Dec 8th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.61 KB | None | 0 0
  1. ansible-playbook 2.7.1
  2. config file = /home/sxw455/.ansible.cfg
  3. configured module search path = [u'/home/sxw455/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  4. ansible python module location = /home/sxw455/.local/lib/python2.7/site-packages/ansible
  5. executable location = /home/sxw455/.local/bin/ansible-playbook
  6. python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
  7. Using /home/sxw455/.ansible.cfg as config file
  8. setting up inventory plugins
  9. /home/sxw455/Ansible-F5/Inventory/Inventory.yaml did not meet host_list requirements, check plugin documentation if this is unexpected
  10. /home/sxw455/Ansible-F5/Inventory/Inventory.yaml did not meet script requirements, check plugin documentation if this is unexpected
  11. Parsed /home/sxw455/Ansible-F5/Inventory/Inventory.yaml inventory source with yaml plugin
  12. skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
  13. skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
  14. Loading callback plugin default of type stdout, v2.0 from /home/sxw455/.local/lib/python2.7/site-packages/ansible/plugins/callback/default.pyc
  15.  
  16. PLAYBOOK: ASMtest.yaml ***************************************************************************************************************************************
  17. 1 plays in ASMtest.yaml
  18. skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
  19. skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
  20. skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
  21.  
  22. PLAY [ASMtest] ***********************************************************************************************************************************************
  23. META: ran handlers
  24. Trying secret FileVaultSecret(filename='/home/sxw455/VaultKey') for vault_id=default
  25. Read vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml'
  26.  
  27. TASK [f5devcentral.f5ansible : Check ansible version] ********************************************************************************************************
  28. task path: /home/sxw455/.ansible/roles/f5devcentral.f5ansible/tasks/main.yaml:7
  29. skipping: [cpf5dv.sherwin.com] => {}
  30. Read vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml'
  31.  
  32. TASK [asm_Master_Unix_Linux] *********************************************************************************************************************************
  33. task path: /home/sxw455/Ansible-F5/Playbooks/ASMtest.yaml:20
  34. <cpf5dv.sherwin.com> ESTABLISH LOCAL CONNECTION FOR USER: sxw455
  35. <cpf5dv.sherwin.com> EXEC /bin/sh -c 'echo ~sxw455 && sleep 0'
  36. <cpf5dv.sherwin.com> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075 `" && echo ansible-tmp-1544315414.87-237654603796075="` echo /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075 `" ) && sleep 0'
  37. Using module file /home/sxw455/.local/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_asm_policy.py
  38. <cpf5dv.sherwin.com> PUT /home/sxw455/.ansible/tmp/ansible-local-15673o78UZL/tmpbNaiLE TO /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py
  39. <cpf5dv.sherwin.com> EXEC /bin/sh -c 'chmod u+x /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/ /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py && sleep 0'
  40. <cpf5dv.sherwin.com> EXEC /bin/sh -c 'F5_VALIDATE_CERTS=False F5_SERVER=cpf5dv.sherwin.com F5_USER=sxw455 F5_PASSWORD='"'"'REDACTED'"'"' /usr/bin/python /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py && sleep 0'
  41. <cpf5dv.sherwin.com> EXEC /bin/sh -c 'rm -f -r /home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/ > /dev/null 2>&1 && sleep 0'
  42. The full traceback is:
  43. Traceback (most recent call last):
  44. File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 113, in <module>
  45. _ansiballz_main()
  46. File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 105, in _ansiballz_main
  47. invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  48. File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 48, in invoke_module
  49. imp.load_module('__main__', mod, module, MOD_DESC)
  50. File "/tmp/ansible_bigip_asm_policy_payload_IjcMVn/__main__.py", line 236, in <module>
  51. ImportError: cannot import name HAS_F5SDK
  52. fatal: [cpf5dv.sherwin.com]: FAILED! => {
  53. "changed": false,
  54. "module_stderr": "Traceback (most recent call last):\n File \"/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py\", line 113, in <module>\n _ansiballz_main()\n File \"/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_bigip_asm_policy_payload_IjcMVn/__main__.py\", line 236, in <module>\nImportError: cannot import name HAS_F5SDK\n",
  55. "module_stdout": "",
  56. "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
  57. "rc": 1
  58. }
  59.  
  60. PLAY RECAP ***************************************************************************************************************************************************
  61. cpf5dv.sherwin.com : ok=0 changed=0 unreachable=0 failed=1
Add Comment
Please, Sign In to add comment