Created
July 4, 2023 11:36
-
-
Save rohitthakur2590/81783f77f0153d3725113a2dea6e9209 to your computer and use it in GitHub Desktop.
Network OSPF Remediate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ansible-playbook [core 2.14.3] | |
| config file = /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/ansible.cfg | |
| configured module search path = ['/home/rothakur/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
| ansible python module location = /usr/local/lib/python3.11/site-packages/ansible | |
| ansible collection location = /home/rothakur/ansible-collections/collections | |
| executable location = /usr/local/bin/ansible-playbook | |
| python version = 3.11.3 (main, Apr 5 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] (/usr/bin/python3) | |
| jinja version = 3.0.3 | |
| libyaml = False | |
| Using /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/ansible.cfg as config file | |
| host_list declined parsing /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/inventory as it did not pass its verify_file() method | |
| script declined parsing /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/inventory as it did not pass its verify_file() method | |
| auto declined parsing /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/inventory as it did not pass its verify_file() method | |
| Parsed /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/inventory inventory source with ini plugin | |
| [WARNING]: running playbook inside collection network.ospf | |
| 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: remediate.yaml ********************************************************************************************************************************************************************* | |
| 1 plays in remediate.yaml | |
| PLAY [rtr1] ********************************************************************************************************************************************************************************** | |
| TASK [Network OSPF Manager] ****************************************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/remediate.yaml:4 | |
| TASK [network.ospf.run : Include tasks] ****************************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/roles/run/tasks/main.yml:2 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/roles/run/tasks/includes/remediate.yaml for rtr1 => (item={'name': 'remediate'}) | |
| TASK [Invoke gather function] **************************************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/roles/run/tasks/includes/remediate.yaml:2 | |
| TASK [network.base.resource_manager : Run the platform specific tasks] *********************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/main.yaml:2 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./remediate.yaml for rtr1 => (item=/home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml) | |
| TASK [network.base.resource_manager : Resolve inventory] ************************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml:2 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/inventory.yaml for rtr1 | |
| TASK [network.base.resource_manager : Set default host vars path] **************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/inventory.yaml:2 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Set default host vars path] **************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/inventory.yaml:7 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "resource_manager_inventory_directory": "~/network/ospf/" | |
| }, | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Set default path] ************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/inventory.yaml:12 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Set default path] ************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/inventory.yaml:17 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "resource_manager_inventory_path": "~/network/ospf/" | |
| }, | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Retrieve host vars and save locally] ******************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml:5 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Get list of SOT files] ********************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml:9 | |
| <35.155.113.92> ESTABLISH LOCAL CONNECTION FOR USER: rothakur | |
| <35.155.113.92> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9 `"&& mkdir "` echo /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267 `" && echo ansible-tmp-1688470466.4673107-567630-120103909215267="` echo /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267 `" ) && sleep 0' | |
| Using module file /usr/local/lib/python3.11/site-packages/ansible/modules/find.py | |
| <35.155.113.92> PUT /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/tmpyrx9lelp TO /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267/AnsiballZ_find.py | |
| <35.155.113.92> EXEC /bin/sh -c 'chmod u+x /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267/ /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267/AnsiballZ_find.py && sleep 0' | |
| <35.155.113.92> EXEC /bin/sh -c '/usr/bin/python3 /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267/AnsiballZ_find.py && sleep 0' | |
| <35.155.113.92> EXEC /bin/sh -c 'rm -f -r /home/rothakur/.ansible/tmp/ansible-local-567597dpded5f9/ansible-tmp-1688470466.4673107-567630-120103909215267/ > /dev/null 2>&1 && sleep 0' | |
| ok: [rtr1] => { | |
| "changed": false, | |
| "examined": 4, | |
| "files": [ | |
| { | |
| "atime": 1688459975.6341355, | |
| "ctime": 1688459218.0745635, | |
| "dev": 39, | |
| "gid": 1000, | |
| "gr_name": "rothakur", | |
| "inode": 13473563, | |
| "isblk": false, | |
| "ischr": false, | |
| "isdir": false, | |
| "isfifo": false, | |
| "isgid": false, | |
| "islnk": false, | |
| "isreg": true, | |
| "issock": false, | |
| "isuid": false, | |
| "mode": "0777", | |
| "mtime": 1688459217.8855631, | |
| "nlink": 1, | |
| "path": "/home/rothakur/network/ospf/host_vars/rtr1/ospf_interfaces.yaml", | |
| "pw_name": "rothakur", | |
| "rgrp": true, | |
| "roth": true, | |
| "rusr": true, | |
| "size": 717, | |
| "uid": 1000, | |
| "wgrp": true, | |
| "woth": true, | |
| "wusr": true, | |
| "xgrp": true, | |
| "xoth": true, | |
| "xusr": true | |
| }, | |
| { | |
| "atime": 1688470005.289155, | |
| "ctime": 1688469979.0330749, | |
| "dev": 39, | |
| "gid": 1000, | |
| "gr_name": "rothakur", | |
| "inode": 13473578, | |
| "isblk": false, | |
| "ischr": false, | |
| "isdir": false, | |
| "isfifo": false, | |
| "isgid": false, | |
| "islnk": false, | |
| "isreg": true, | |
| "issock": false, | |
| "isuid": false, | |
| "mode": "0777", | |
| "mtime": 1688469979.018075, | |
| "nlink": 1, | |
| "path": "/home/rothakur/network/ospf/host_vars/rtr1/ospfv2.yaml", | |
| "pw_name": "rothakur", | |
| "rgrp": true, | |
| "roth": true, | |
| "rusr": true, | |
| "size": 388, | |
| "uid": 1000, | |
| "wgrp": true, | |
| "woth": true, | |
| "wusr": true, | |
| "xgrp": true, | |
| "xoth": true, | |
| "xusr": true | |
| } | |
| ], | |
| "invocation": { | |
| "module_args": { | |
| "age": null, | |
| "age_stamp": "mtime", | |
| "contains": null, | |
| "depth": null, | |
| "excludes": null, | |
| "file_type": "file", | |
| "follow": false, | |
| "get_checksum": false, | |
| "hidden": false, | |
| "paths": [ | |
| "~/network/ospf//host_vars/rtr1" | |
| ], | |
| "patterns": [ | |
| "*.yaml" | |
| ], | |
| "read_whole_file": false, | |
| "recurse": false, | |
| "size": null, | |
| "use_regex": false | |
| } | |
| }, | |
| "matched": 2, | |
| "msg": "All paths examined", | |
| "skipped_paths": {} | |
| } | |
| TASK [network.base.resource_manager : Set state as overridden to restore config] ************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml:17 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "resource_manager_state": "overridden" | |
| }, | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Rectify drift] ***************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/remediate.yaml:22 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml for rtr1 => (item=ospf_interfaces.yaml) | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml for rtr1 => (item=ospfv2.yaml) | |
| TASK [network.base.resource_manager : Set facts] ********************************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:2 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "resource_manager_lst": "ospf_interfaces", | |
| "resource_manager_name": "cisco.ios.ios_ospf_interfaces", | |
| "resource_manager_resource": "ospf_interfaces" | |
| }, | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Grab the resource facts] ******************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:8 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "module_vars": { | |
| "ospf_interfaces": [ | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback27" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback28" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback29" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback37" | |
| }, | |
| { | |
| "name": "Loopback38" | |
| }, | |
| { | |
| "name": "Loopback39" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/0" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/1" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/2" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/3" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/4" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/5" | |
| } | |
| ] | |
| } | |
| }, | |
| "ansible_included_var_files": [ | |
| "/home/rothakur/network/ospf/host_vars/rtr1/ospf_interfaces.yaml" | |
| ], | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Set default state] ************************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:13 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Include tasks] ***************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:18 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/edit_resource.yaml for rtr1 | |
| TASK [network.base.resource_manager : Apply provided configuration] ************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/edit_resource.yaml:2 | |
| ok: [rtr1] => { | |
| "ansible_connection": "ansible.netcommon.network_cli", | |
| "ansible_network_os": "cisco.ios.ios", | |
| "before": [ | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback27" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback28" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback29" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "afi": "ipv4", | |
| "process": { | |
| "area_id": "0", | |
| "id": 110 | |
| } | |
| } | |
| ], | |
| "name": "Loopback37" | |
| }, | |
| { | |
| "name": "Loopback38" | |
| }, | |
| { | |
| "name": "Loopback39" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/0" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/1" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/2" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/3" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/4" | |
| }, | |
| { | |
| "name": "GigabitEthernet0/5" | |
| } | |
| ], | |
| "changed": false, | |
| "commands": [], | |
| "invocation": { | |
| "module_args": { | |
| "config": [ | |
| { | |
| "address_family": [ | |
| { | |
| "adjacency": null, | |
| "afi": "ipv4", | |
| "authentication": null, | |
| "bfd": null, | |
| "cost": null, | |
| "database_filter": null, | |
| "dead_interval": null, | |
| "demand_circuit": null, | |
| "flood_reduction": null, | |
| "hello_interval": null, | |
| "lls": null, | |
| "manet": null, | |
| "mtu_ignore": null, | |
| "multi_area": null, | |
| "neighbor": null, | |
| "network": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process": { | |
| "area_id": "0", | |
| "id": 110, | |
| "instance_id": null, | |
| "secondaries": null | |
| }, | |
| "resync_timeout": null, | |
| "retransmit_interval": null, | |
| "shutdown": null, | |
| "transmit_delay": null, | |
| "ttl_security": null | |
| } | |
| ], | |
| "name": "Loopback27" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "adjacency": null, | |
| "afi": "ipv4", | |
| "authentication": null, | |
| "bfd": null, | |
| "cost": null, | |
| "database_filter": null, | |
| "dead_interval": null, | |
| "demand_circuit": null, | |
| "flood_reduction": null, | |
| "hello_interval": null, | |
| "lls": null, | |
| "manet": null, | |
| "mtu_ignore": null, | |
| "multi_area": null, | |
| "neighbor": null, | |
| "network": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process": { | |
| "area_id": "0", | |
| "id": 110, | |
| "instance_id": null, | |
| "secondaries": null | |
| }, | |
| "resync_timeout": null, | |
| "retransmit_interval": null, | |
| "shutdown": null, | |
| "transmit_delay": null, | |
| "ttl_security": null | |
| } | |
| ], | |
| "name": "Loopback28" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "adjacency": null, | |
| "afi": "ipv4", | |
| "authentication": null, | |
| "bfd": null, | |
| "cost": null, | |
| "database_filter": null, | |
| "dead_interval": null, | |
| "demand_circuit": null, | |
| "flood_reduction": null, | |
| "hello_interval": null, | |
| "lls": null, | |
| "manet": null, | |
| "mtu_ignore": null, | |
| "multi_area": null, | |
| "neighbor": null, | |
| "network": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process": { | |
| "area_id": "0", | |
| "id": 110, | |
| "instance_id": null, | |
| "secondaries": null | |
| }, | |
| "resync_timeout": null, | |
| "retransmit_interval": null, | |
| "shutdown": null, | |
| "transmit_delay": null, | |
| "ttl_security": null | |
| } | |
| ], | |
| "name": "Loopback29" | |
| }, | |
| { | |
| "address_family": [ | |
| { | |
| "adjacency": null, | |
| "afi": "ipv4", | |
| "authentication": null, | |
| "bfd": null, | |
| "cost": null, | |
| "database_filter": null, | |
| "dead_interval": null, | |
| "demand_circuit": null, | |
| "flood_reduction": null, | |
| "hello_interval": null, | |
| "lls": null, | |
| "manet": null, | |
| "mtu_ignore": null, | |
| "multi_area": null, | |
| "neighbor": null, | |
| "network": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process": { | |
| "area_id": "0", | |
| "id": 110, | |
| "instance_id": null, | |
| "secondaries": null | |
| }, | |
| "resync_timeout": null, | |
| "retransmit_interval": null, | |
| "shutdown": null, | |
| "transmit_delay": null, | |
| "ttl_security": null | |
| } | |
| ], | |
| "name": "Loopback37" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "Loopback38" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "Loopback39" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/0" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/1" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/2" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/3" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/4" | |
| }, | |
| { | |
| "address_family": null, | |
| "name": "GigabitEthernet0/5" | |
| } | |
| ], | |
| "running_config": null, | |
| "state": "overridden" | |
| } | |
| }, | |
| "resource_module_name": "cisco.ios.ios_ospf_interfaces" | |
| } | |
| TASK [network.base.resource_manager : Apply configuration] *********************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:23 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Set facts] ********************************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:2 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "resource_manager_lst": "ospfv2", | |
| "resource_manager_name": "cisco.ios.ios_ospfv2", | |
| "resource_manager_resource": "ospfv2" | |
| }, | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Grab the resource facts] ******************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:8 | |
| ok: [rtr1] => { | |
| "ansible_facts": { | |
| "module_vars": { | |
| "ospfv2": { | |
| "processes": [ | |
| { | |
| "network": [ | |
| { | |
| "address": "10.0.12.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| }, | |
| { | |
| "address": "11.0.13.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| } | |
| ], | |
| "process_id": 110, | |
| "router_id": "1.1.1.1" | |
| }, | |
| { | |
| "max_metric": { | |
| "on_startup": { | |
| "time": 100 | |
| }, | |
| "router_lsa": true | |
| }, | |
| "process_id": 111 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "ansible_included_var_files": [ | |
| "/home/rothakur/network/ospf/host_vars/rtr1/ospfv2.yaml" | |
| ], | |
| "changed": false | |
| } | |
| TASK [network.base.resource_manager : Set default state] ************************************************************************************************************************************* | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:13 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| TASK [network.base.resource_manager : Include tasks] ***************************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:18 | |
| included: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/edit_resource.yaml for rtr1 | |
| TASK [network.base.resource_manager : Apply provided configuration] ************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/edit_resource.yaml:2 | |
| changed: [rtr1] => { | |
| "after": { | |
| "processes": [ | |
| { | |
| "network": [ | |
| { | |
| "address": "10.0.12.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| }, | |
| { | |
| "address": "11.0.13.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| } | |
| ], | |
| "process_id": 110, | |
| "router_id": "1.1.1.1" | |
| }, | |
| { | |
| "max_metric": { | |
| "on_startup": { | |
| "time": 100 | |
| }, | |
| "router_lsa": true | |
| }, | |
| "process_id": 111 | |
| } | |
| ] | |
| }, | |
| "ansible_connection": "ansible.netcommon.network_cli", | |
| "ansible_network_os": "cisco.ios.ios", | |
| "before": { | |
| "processes": [ | |
| { | |
| "network": [ | |
| { | |
| "address": "10.0.12.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| }, | |
| { | |
| "address": "11.0.13.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| } | |
| ], | |
| "process_id": 110, | |
| "router_id": "1.1.1.1" | |
| }, | |
| { | |
| "max_metric": { | |
| "on_startup": { | |
| "time": 120 | |
| }, | |
| "router_lsa": true | |
| }, | |
| "process_id": 111 | |
| } | |
| ] | |
| }, | |
| "changed": true, | |
| "commands": [ | |
| "router ospf 111", | |
| "max-metric router-lsa on-startup 100" | |
| ], | |
| "invocation": { | |
| "module_args": { | |
| "config": { | |
| "processes": [ | |
| { | |
| "address_family": null, | |
| "adjacency": null, | |
| "areas": null, | |
| "auto_cost": null, | |
| "bfd": null, | |
| "capability": null, | |
| "compatible": null, | |
| "default_information": null, | |
| "default_metric": null, | |
| "discard_route": null, | |
| "distance": null, | |
| "distribute_list": null, | |
| "domain_id": null, | |
| "domain_tag": null, | |
| "event_log": null, | |
| "help": null, | |
| "ignore": null, | |
| "interface_id": null, | |
| "ispf": null, | |
| "limit": null, | |
| "local_rib_criteria": null, | |
| "log_adjacency_changes": null, | |
| "max_lsa": null, | |
| "max_metric": null, | |
| "maximum_paths": null, | |
| "mpls": null, | |
| "neighbor": null, | |
| "network": [ | |
| { | |
| "address": "10.0.12.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| }, | |
| { | |
| "address": "11.0.13.1", | |
| "area": "0", | |
| "wildcard_bits": "0.0.0.0" | |
| } | |
| ], | |
| "nsf": null, | |
| "passive_interface": null, | |
| "passive_interfaces": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process_id": 110, | |
| "queue_depth": null, | |
| "router_id": "1.1.1.1", | |
| "shutdown": null, | |
| "summary_address": null, | |
| "timers": null, | |
| "traffic_share": null, | |
| "ttl_security": null, | |
| "vrf": null | |
| }, | |
| { | |
| "address_family": null, | |
| "adjacency": null, | |
| "areas": null, | |
| "auto_cost": null, | |
| "bfd": null, | |
| "capability": null, | |
| "compatible": null, | |
| "default_information": null, | |
| "default_metric": null, | |
| "discard_route": null, | |
| "distance": null, | |
| "distribute_list": null, | |
| "domain_id": null, | |
| "domain_tag": null, | |
| "event_log": null, | |
| "help": null, | |
| "ignore": null, | |
| "interface_id": null, | |
| "ispf": null, | |
| "limit": null, | |
| "local_rib_criteria": null, | |
| "log_adjacency_changes": null, | |
| "max_lsa": null, | |
| "max_metric": { | |
| "external_lsa": null, | |
| "include_stub": null, | |
| "on_startup": { | |
| "time": 100, | |
| "wait_for_bgp": null | |
| }, | |
| "router_lsa": true, | |
| "summary_lsa": null | |
| }, | |
| "maximum_paths": null, | |
| "mpls": null, | |
| "neighbor": null, | |
| "network": null, | |
| "nsf": null, | |
| "passive_interface": null, | |
| "passive_interfaces": null, | |
| "prefix_suppression": null, | |
| "priority": null, | |
| "process_id": 111, | |
| "queue_depth": null, | |
| "router_id": null, | |
| "shutdown": null, | |
| "summary_address": null, | |
| "timers": null, | |
| "traffic_share": null, | |
| "ttl_security": null, | |
| "vrf": null | |
| } | |
| ] | |
| }, | |
| "running_config": null, | |
| "state": "overridden" | |
| } | |
| }, | |
| "resource_module_name": "cisco.ios.ios_ospfv2" | |
| } | |
| TASK [network.base.resource_manager : Apply configuration] *********************************************************************************************************************************** | |
| task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:23 | |
| skipping: [rtr1] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } | |
| PLAY RECAP *********************************************************************************************************************************************************************************** | |
| rtr1 : ok=17 changed=1 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment