-
-
Save ashwini-mhatre/95e08f4c7dccfa6c7fb9e14bc1a5ac98 to your computer and use it in GitHub Desktop.
INTERFACES Gather operation
This file contains 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-navigator run example.yaml | |
PLAY [Enables users to perform the gathered state operation for the provided resources.] *********************************** | |
TASK [INTERFACES Manager] ************************************************************************************************** | |
TASK [network.interfaces.run : Include tasks] ****************************************************************************** | |
included: /Users/amhatre/ansible-collections/collections/ansible_collections/network/interfaces/roles/run/tasks/includes/gather.yaml for 10.0.150.115 => (item={'name': 'gather'}) | |
TASK [Invoke gather function] ********************************************************************************************** | |
TASK [network.base.resource_manager : Run the platform specific tasks] ***************************************************** | |
[WARNING]: TASK: network.base.resource_manager : Run the platform specific tasks: The loop variable 'item' is already in | |
use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable | |
collisions and unexpected behavior. | |
included: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/./gather.yaml for 10.0.150.115 => (item=/Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/tasks/gather.yaml) | |
TASK [network.base.resource_manager : Gather the supported resource modules] *********************************************** | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] | |
TASK [network.base.resource_manager : Set Resources] *********************************************************************** | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Set network resorces] **************************************************************** | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] | |
TASK [network.base.resource_manager : Include build tasks] ***************************************************************** | |
[WARNING]: TASK: network.base.resource_manager : Include build tasks: The loop variable 'item' is already in use. You | |
should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions | |
and unexpected behavior. | |
included: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/build.yml for 10.0.150.115 => (item=interfaces) | |
included: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/build.yml for 10.0.150.115 => (item=l2_interfaces) | |
included: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/build.yml for 10.0.150.115 => (item=l3_interfaces) | |
TASK [network.base.resource_manager : Run the platform facts module] ******************************************************* | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] | |
TASK [network.base.resource_manager : Resource Facts] ********************************************************************** | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] => { | |
"msg": { | |
"ansible_connection": "ansible.netcommon.network_cli", | |
"ansible_network_os": "cisco.iosxr.iosxr", | |
"changed": false, | |
"failed": false, | |
"gathered": [ | |
{ | |
"description": "this is interface0", | |
"enabled": true, | |
"name": "GigabitEthernet0/0/0/0" | |
}, | |
{ | |
"description": "this is interface1", | |
"enabled": false, | |
"name": "GigabitEthernet0/0/0/1" | |
} | |
], | |
"resource_module_name": "cisco.iosxr.iosxr_interfaces" | |
} | |
} | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Run the platform facts module] ******************************************************* | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] | |
TASK [network.base.resource_manager : Resource Facts] ********************************************************************** | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] => { | |
"msg": { | |
"ansible_connection": "ansible.netcommon.network_cli", | |
"ansible_network_os": "cisco.iosxr.iosxr", | |
"changed": false, | |
"failed": false, | |
"gathered": [ | |
{ | |
"name": "GigabitEthernet0/0/0/0" | |
}, | |
{ | |
"l2protocol": [ | |
{ | |
"cpsv": "tunnel" | |
} | |
], | |
"l2transport": true, | |
"name": "GigabitEthernet0/0/0/1", | |
"propagate": true | |
} | |
], | |
"resource_module_name": "cisco.iosxr.iosxr_l2_interfaces" | |
} | |
} | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Run the platform facts module] ******************************************************* | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] | |
TASK [network.base.resource_manager : Resource Facts] ********************************************************************** | |
[WARNING]: Persistent connection logging is enabled for 10.0.150.115. This will log ALL interactions and WILL NOT redact | |
sensitive configuration like passwords. USE WITH CAUTION! | |
ok: [10.0.150.115] => { | |
"msg": { | |
"ansible_connection": "ansible.netcommon.network_cli", | |
"ansible_network_os": "cisco.iosxr.iosxr", | |
"changed": false, | |
"failed": false, | |
"gathered": [ | |
{ | |
"ipv4": [ | |
{ | |
"address": "198.51.100.1/24" | |
} | |
], | |
"name": "GigabitEthernet0/0/0/0" | |
}, | |
{ | |
"name": "GigabitEthernet0/0/0/1" | |
} | |
], | |
"resource_module_name": "cisco.iosxr.iosxr_l3_interfaces" | |
} | |
} | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
TASK [network.base.resource_manager : Include file write task] ************************************************************* | |
skipping: [10.0.150.115] | |
PLAY RECAP ***************************************************************************************************************** | |
10.0.150.115 : ok=13 changed=0 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