Skip to content

Instantly share code, notes, and snippets.

@ashwini-mhatre
Created April 19, 2023 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashwini-mhatre/ba4d1cc6af54a3686f47f26dda7df6f7 to your computer and use it in GitHub Desktop.
Save ashwini-mhatre/ba4d1cc6af54a3686f47f26dda7df6f7 to your computer and use it in GitHub Desktop.
Task execution: action deploy
TASK [network.base.resource_manager : Apply provided configuration] ********************************************************
task path: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/edit_resource.yaml:2
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{
module_vars[resource] }}
Loading collection cisco.iosxr from /Users/amhatre/ansible-collections/collections/ansible_collections/cisco/iosxr
<10.0.150.115> attempting to start connection
<10.0.150.115> using connection plugin ansible.netcommon.network_cli
Found ansible-connection at path /Users/amhatre/ansible_venvs/py3.8.5_final/bin/ansible-connection
<10.0.150.115> found existing local domain socket, using it!
[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!
<10.0.150.115> updating play_context for connection
<10.0.150.115>
<10.0.150.115> local domain socket path is /Users/amhatre/.ansible/pc/5aedf73c40
Running resource module cisco.iosxr.iosxr_interfaces
<10.0.150.115> ANSIBLE_NETWORK_IMPORT_MODULES: enabled
<10.0.150.115> ANSIBLE_NETWORK_IMPORT_MODULES: found cisco.iosxr.iosxr_interfaces at /Users/amhatre/ansible-collections/collections/ansible_collections/cisco/iosxr/plugins/modules/iosxr_interfaces.py
<10.0.150.115> ANSIBLE_NETWORK_IMPORT_MODULES: running cisco.iosxr.iosxr_interfaces
<10.0.150.115> ANSIBLE_NETWORK_IMPORT_MODULES: complete
changed: [10.0.150.115] => {
"after": [
{
"description": "this is interface0",
"enabled": true,
"name": "GigabitEthernet0/0/0/0"
},
{
"description": "this is interface1",
"enabled": false,
"name": "GigabitEthernet0/0/0/1"
}
],
"ansible_connection": "ansible.netcommon.network_cli",
"ansible_network_os": "cisco.iosxr.iosxr",
"before": [
{
"description": "this is interface0",
"enabled": true,
"name": "GigabitEthernet0/0/0/0"
},
{
"description": "this is interface1",
"enabled": true,
"name": "GigabitEthernet0/0/0/1"
}
],
"changed": true,
"commands": [
"interface GigabitEthernet0/0/0/1",
"shutdown"
],
"invocation": {
"module_args": {
"config": [
{
"description": "this is interface0",
"duplex": null,
"enabled": true,
"mtu": null,
"name": "GigabitEthernet0/0/0/0",
"speed": null
},
{
"description": "this is interface1",
"duplex": null,
"enabled": false,
"mtu": null,
"name": "GigabitEthernet0/0/0/1",
"speed": null
}
],
"running_config": null,
"state": "merged"
}
},
"resource_module_name": "cisco.iosxr.iosxr_interfaces"
}
TASK [network.base.resource_manager : Apply configuration] *****************************************************************
task path: /Users/amhatre/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/configure.yaml:23
skipping: [10.0.150.115] => {
"changed": false,
"skip_reason": "Conditional result was False"
}
META: role_complete for 10.0.150.115
META: role_complete for 10.0.150.115
META: ran handlers
META: ran handlers
PLAY RECAP *****************************************************************************************************************
10.0.150.115 : ok=21 changed=1 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0
(py3.8.5_final) amhatre@ashwinis-MacBook-Pro playbooks %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment