[jorgenspange@Jorgens-MBP ~/Documents/git/ansible-network-automation (main) ]$ ansible-playbook playbook_network_compliance.yml -e "target=NORNY-DH2-SVRMGMT-SW01" -i inventory/PROD --tags snmp -vvv ansible-playbook [core 2.18.1] config file = /Users/jorgenspange/Documents/git/ansible-network-automation/ansible.cfg configured module search path = ['/Users/jorgenspange/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/homebrew/Cellar/ansible/11.1.0_1/libexec/lib/python3.13/site-packages/ansible ansible collection location = /Users/jorgenspange/.ansible/collections:/usr/share/ansible/collections executable location = /opt/homebrew/bin/ansible-playbook python version = 3.13.1 (main, Dec 3 2024, 17:59:52) [Clang 16.0.0 (clang-1600.0.26.4)] (/opt/homebrew/Cellar/ansible/11.1.0_1/libexec/bin/python) jinja version = 3.1.5 libyaml = True Using /Users/jorgenspange/Documents/git/ansible-network-automation/ansible.cfg as config file host_list declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/campus as it did not pass its verify_file() method script declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/campus as it did not pass its verify_file() method auto declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/campus as it did not pass its verify_file() method Parsed /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/campus inventory source with ini plugin host_list declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/datacenter as it did not pass its verify_file() method script declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/datacenter as it did not pass its verify_file() method auto declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/datacenter as it did not pass its verify_file() method Parsed /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/datacenter inventory source with ini plugin host_list declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/management as it did not pass its verify_file() method script declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/management as it did not pass its verify_file() method auto declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/management as it did not pass its verify_file() method Parsed /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/management inventory source with ini plugin host_list declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/routers as it did not pass its verify_file() method script declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/routers as it did not pass its verify_file() method auto declined parsing /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/routers as it did not pass its verify_file() method Parsed /Users/jorgenspange/Documents/git/ansible-network-automation/inventory/PROD/routers inventory source with ini plugin redirecting (type: callback) ansible.builtin.yaml to community.general.yaml redirecting (type: callback) ansible.builtin.yaml to community.general.yaml Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. ___________________________________________ < PLAYBOOK: playbook_network_compliance.yml > ------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * 1 plays in playbook_network_compliance.yml _______________________________________________ < PLAY [Ensure compliance for network-devices.] > ----------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * ___________________________________________________________ / TASK [dnbconnectivity.network.acls : Validating arguments \ \ against arg spec 'main'] / ----------------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/Documents/git/ansible-network-automation/playbook_network_compliance.yml:2 ok: [NORNY-DH2-SVRMGMT-SW01] => changed=false msg: The arg spec validation passed validate_args_context: argument_spec_name: main name: acls path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/acls type: role _____________________________________________________ / TASK [dnbconnectivity.network.errdisable_recovery : \ \ Validating arguments against arg spec 'main'] / ----------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/Documents/git/ansible-network-automation/playbook_network_compliance.yml:2 ok: [NORNY-DH2-SVRMGMT-SW01] => changed=false msg: The arg spec validation passed validate_args_context: argument_spec_name: main name: errdisable_recovery path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/errdisable_recovery type: role _______________________________________________________ / TASK [dnbconnectivity.network.interface_description : \ \ Validating arguments against arg spec 'main'] / ------------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/Documents/git/ansible-network-automation/playbook_network_compliance.yml:2 ok: [NORNY-DH2-SVRMGMT-SW01] => changed=false msg: The arg spec validation passed validate_args_context: argument_spec_name: main name: interface_description path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/interface_description type: role ____________________________________________________ / TASK [dnbconnectivity.network.logging : Validating \ \ arguments against arg spec 'main'] / ---------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/Documents/git/ansible-network-automation/playbook_network_compliance.yml:2 ok: [NORNY-DH2-SVRMGMT-SW01] => changed=false msg: The arg spec validation passed validate_args_context: argument_spec_name: main name: logging path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/logging type: role __________________________________________________________ / TASK [dnbconnectivity.network.ntp : Validating arguments \ \ against arg spec 'main'] / ---------------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/Documents/git/ansible-network-automation/playbook_network_compliance.yml:2 ok: [NORNY-DH2-SVRMGMT-SW01] => changed=false msg: The arg spec validation passed validate_args_context: argument_spec_name: main name: ntp path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/ntp type: role __________________________________________________________ / TASK [dnbconnectivity.network.snmp : Include OS-specific \ \ tasks.] / ---------------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/snmp/tasks/main.yml:4 included: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/snmp/tasks/configure_cisco.ios.ios.yml for NORNY-DH2-SVRMGMT-SW01 Notification for handler Save ios. has been saved. ______________________________________________ / TASK [dnbconnectivity.network.snmp : \ \ configure_cisco.ios.ios | Configure snmpv3.] / ---------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/snmp/tasks/configure_cisco.ios.ios.yml:4 changed: [NORNY-DH2-SVRMGMT-SW01] => changed=true after: contact: T&S TIO | Connectivity groups: - acl_v4: DNB-SNMP group: DNB-SNMP-RO read: SNMP-VIEW-ALL version: v3 version_option: priv - acl_v4: DNB-SNMP group: DNB-SNMP-RW read: SNMP-VIEW-ALL version: v3 version_option: priv write: SNMP-WRITE-ALL if_index: true location: EMEA,NORWAY,GREEN MOUNTAIN users: - authentication: algorithm: sha encryption: priv: aes priv_option: '128' group: DNB-SNMP-RO username: dnb_snmp_ro version: v3 - authentication: algorithm: sha encryption: priv: aes priv_option: '128' group: DNB-SNMP-RW username: dnb_snmp_rw version: v3 views: - family_name: iso included: true name: SNMP-VIEW-ALL - family_name: iso included: true name: SNMP-WRITE-ALL before: contact: T&S TIO | Connectivity groups: - acl_v4: DNB-SNMP group: DNB-SNMP-RO read: SNMP-VIEW-ALL version: v3 version_option: priv - acl_v4: DNB-SNMP group: DNB-SNMP-RW read: SNMP-VIEW-ALL version: v3 version_option: priv write: SNMP-WRITE-ALL hosts: - community_string: solarwinds_readonly host: 10.161.115.173 version: '3' version_option: priv - community_string: solarwinds_readonly host: 10.161.115.182 version: '3' version_option: priv - community_string: solarwinds_readonly host: 10.162.240.200 version: '3' version_option: priv if_index: true location: EMEA,NORWAY,GREEN MOUNTAIN users: - authentication: algorithm: sha encryption: priv: aes priv_option: '128' group: DNB-SNMP-RO username: dnb_snmp_ro version: v3 - authentication: algorithm: sha encryption: priv: aes priv_option: '128' group: DNB-SNMP-RW username: dnb_snmp_rw version: v3 views: - family_name: iso included: true name: SNMP-VIEW-ALL - family_name: iso included: true name: SNMP-WRITE-ALL commands: - no snmp-server host 10.161.115.182 version 3 priv solarwinds_readonly - no snmp-server host 10.161.115.173 version 3 priv solarwinds_readonly - no snmp-server host 10.162.240.200 version 3 priv solarwinds_readonly - snmp-server user dnb_snmp_rw DNB-SNMP-RW v3 auth sha ******** priv aes 128 ******** - snmp-server user dnb_snmp_ro DNB-SNMP-RO v3 auth sha ******** priv aes 128 ******** invocation: module_args: config: accounting: null cache: null chassis_id: null communities: null contact: T&S TIO | Connectivity context: null drop: null engine_id: null file_transfer: null groups: - acl_v4: DNB-SNMP acl_v6: null context: null group: DNB-SNMP-RO match: null notify: null read: SNMP-VIEW-ALL version: v3 version_option: priv write: null - acl_v4: DNB-SNMP acl_v6: null context: null group: DNB-SNMP-RW match: null notify: null read: SNMP-VIEW-ALL version: v3 version_option: priv write: SNMP-WRITE-ALL hosts: null if_index: true inform: null ip: null location: EMEA,NORWAY,GREEN MOUNTAIN manager: null packet_size: null password_policy: null queue_length: null source_interface: null system_shutdown: null trap_source: null trap_timeout: null traps: null users: - acl_v4: null acl_v6: null authentication: algorithm: sha password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER encryption: password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER priv: aes priv_option: '128' group: DNB-SNMP-RW remote: null udp_port: null username: dnb_snmp_rw version: v3 version_option: null vrf: null - acl_v4: null acl_v6: null authentication: algorithm: sha password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER encryption: password: VALUE_SPECIFIED_IN_NO_LOG_PARAMETER priv: aes priv_option: '128' group: DNB-SNMP-RO remote: null udp_port: null username: dnb_snmp_ro version: v3 version_option: null vrf: null views: - excluded: null family_name: iso included: true name: SNMP-VIEW-ALL - excluded: null family_name: iso included: true name: SNMP-WRITE-ALL running_config: null state: overridden NOTIFIED HANDLER dnbconnectivity.network.vtp : Save ios. for NORNY-DH2-SVRMGMT-SW01 ___________________________________________________________ < RUNNING HANDLER [dnbconnectivity.network.vtp : Save ios.] > ----------------------------------------------------------- \ ,__, \ (oo)____ (__) )\ ||--|| * task path: /Users/jorgenspange/.ansible/collections/ansible_collections/dnbconnectivity/network/roles/vtp/handlers/main.yml:4 changed: [NORNY-DH2-SVRMGMT-SW01] => changed=true invocation: module_args: after: null backup: false backup_options: null before: null defaults: false diff_against: null diff_ignore_lines: null intended_config: null lines: null match: line multiline_delimiter: '@' parents: null replace: line running_config: null save_when: always src: null ____________ < PLAY RECAP > ------------ \ ,__, \ (oo)____ (__) )\ ||--|| * NORNY-DH2-SVRMGMT-SW01 : ok=8 changed=2 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 [jorgenspange@Jorgens-MBP ~/Documents/git/ansible-network-automation (main) ]$