Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-playbook 2.7.1
- config file = /home/sxw455/.ansible.cfg
- configured module search path = [u'/home/sxw455/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
- ansible python module location = /home/sxw455/.local/lib/python2.7/site-packages/ansible
- executable location = /home/sxw455/.local/bin/ansible-playbook
- python version = 2.7.15rc1 (default, Apr 15 2018, 21:51:34) [GCC 7.3.0]
- Using /home/sxw455/.ansible.cfg as config file
- setting up inventory plugins
- /home/sxw455/Ansible-F5/Inventory/Inventory.yaml did not meet host_list requirements, check plugin documentation if this is unexpected
- /home/sxw455/Ansible-F5/Inventory/Inventory.yaml did not meet script requirements, check plugin documentation if this is unexpected
- Parsed /home/sxw455/Ansible-F5/Inventory/Inventory.yaml inventory source with yaml plugin
- skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
- skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
- Loading callback plugin default of type stdout, v2.0 from /home/sxw455/.local/lib/python2.7/site-packages/ansible/plugins/callback/default.pyc
- PLAYBOOK: ASMtest.yaml ***************************************************************************************************************************************
- 1 plays in ASMtest.yaml
- skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
- skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
- skipping vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml' due to an undefined variable
- PLAY [ASMtest] ***********************************************************************************************************************************************
- META: ran handlers
- Trying secret FileVaultSecret(filename='/home/sxw455/VaultKey') for vault_id=default
- Read vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml'
- TASK [f5devcentral.f5ansible : Check ansible version] ********************************************************************************************************
- task path: /home/sxw455/.ansible/roles/f5devcentral.f5ansible/tasks/main.yaml:7
- skipping: [cpf5dv.sherwin.com] => {}
- Read vars_file '{{ CredPath }}/Creds_{{ DataCenter }}.yaml'
- TASK [asm_Master_Unix_Linux] *********************************************************************************************************************************
- task path: /home/sxw455/Ansible-F5/Playbooks/ASMtest.yaml:20
- <cpf5dv.sherwin.com> ESTABLISH LOCAL CONNECTION FOR USER: sxw455
- <cpf5dv.sherwin.com> EXEC /bin/sh -c 'echo ~sxw455 && sleep 0'
- <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'
- Using module file /home/sxw455/.local/lib/python2.7/site-packages/ansible/modules/network/f5/bigip_asm_policy.py
- <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
- <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'
- <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'
- <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'
- The full traceback is:
- Traceback (most recent call last):
- File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 113, in <module>
- _ansiballz_main()
- File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 105, in _ansiballz_main
- invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
- File "/home/sxw455/.ansible/tmp/ansible-tmp-1544315414.87-237654603796075/AnsiballZ_bigip_asm_policy.py", line 48, in invoke_module
- imp.load_module('__main__', mod, module, MOD_DESC)
- File "/tmp/ansible_bigip_asm_policy_payload_IjcMVn/__main__.py", line 236, in <module>
- ImportError: cannot import name HAS_F5SDK
- fatal: [cpf5dv.sherwin.com]: FAILED! => {
- "changed": false,
- "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",
- "module_stdout": "",
- "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
- "rc": 1
- }
- PLAY RECAP ***************************************************************************************************************************************************
- cpf5dv.sherwin.com : ok=0 changed=0 unreachable=0 failed=1
Add Comment
Please, Sign In to add comment