You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [net_deploy_iosxr : configure ntp acl - peer] *************************************************************************************
task path: /home/refried.jello/ansible/roles/net_deploy_iosxr/tasks/ntp.yml:14
The full traceback is:
Traceback (most recent call last):
File "/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py", line 102, in <module>
_ansiballz_main()
File "/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py", line 94, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File "/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py", line 40, in invoke_module
runpy.run_module(mod_name='ansible_collections.cisco.iosxr.plugins.modules.iosxr_acls', init_globals=None, run_name='__main__', alter_sys=True)
File "/usr/lib64/python2.7/runpy.py", line 176, in run_module
fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/modules/iosxr_acls.py", line 1451, in <module>
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/modules/iosxr_acls.py", line 1446, in main
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py", line 81, in execute_module
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py", line 126, in set_config
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py", line 152, in set_state
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py", line 271, in _state_overridden
File "/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py", line 188, in _state_replaced
KeyError: 'acls'
fatal: [spare5501.lou05]: FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File \"/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py\", line 102, in <module>\n _ansiballz_main()\n File \"/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py\", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/refried.jello/.ansible/tmp/ansible-local-114579sNgw_/ansible-tmp-1604089093.9-12222-566821440470/AnsiballZ_iosxr_acls.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.cisco.iosxr.plugins.modules.iosxr_acls', init_globals=None, run_name='__main__', alter_sys=True)\n File \"/usr/lib64/python2.7/runpy.py\", line 176, in run_module\n fname, loader, pkg_name)\n File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code\n mod_name, mod_fname, mod_loader, pkg_name)\n File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code\n exec code in run_globals\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/modules/iosxr_acls.py\", line 1451, in <module>\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/modules/iosxr_acls.py\", line 1446, in main\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py\", line 81, in execute_module\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py\", line 126, in set_config\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py\", line 152, in set_state\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py\", line 271, in _state_overridden\n File \"/tmp/ansible_cisco.iosxr.iosxr_acls_payload_UHhlJa/ansible_cisco.iosxr.iosxr_acls_payload.zip/ansible_collections/cisco/iosxr/plugins/module_utils/network/iosxr/config/acls/acls.py\", line 188, in _state_replaced\nKeyError: 'acls'\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
The text was updated successfully, but these errors were encountered:
Ansible 2.9, using latest IOSXR collection. I can run this same configuration using an NXOS module successfully.
Here is play that fails:
Here is output from ansible-playbook
The text was updated successfully, but these errors were encountered: