Created
March 29, 2023 06:37
-
-
Save rohitthakur2590/e0a8d147b76bf018a8ddaf2894937c88 to your computer and use it in GitHub Desktop.
Network BGP detect Action
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
... | |
TASK [network.base.resource_manager : Show the difference in configuration] **** | |
task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/check_drift.yaml:22 | |
--- before | |
+++ after | |
@@ -15,7 +15,7 @@ | |
{ | |
"neighbor_address": "CCIE", | |
"remote_as": "500", | |
- "update_source": "Loopback0", | |
+ "update_source": "Loopback1", | |
"version": 4 | |
} | |
], | |
changed: [192.168.122.220] => { | |
"changed": true, | |
"diff": { | |
"prepared": "\u001b[0;31m--- before\u001b[0m\n\u001b[0;31m\u001b[0m\u001b[0;32m+++ after\u001b[0m\n\u001b[0;32m\u001b[0m\u001b[0;36m@@ -15,7 +15,7 @@\u001b[0m\n\u001b[0;36m\u001b[0m {\n \"neighbor_address\": \"CCIE\",\n \"remote_as\": \"500\",\n\u001b[0;31m- \"update_source\": \"Loopback0\",\u001b[0m\n\u001b[0;31m\u001b[0m\u001b[0;32m+ \"update_source\": \"Loopback1\",\u001b[0m\n\u001b[0;32m\u001b[0m \"version\": 4\n }\n ],\n\n" | |
}, | |
"diff_lines": [ | |
"--- before", | |
"+++ after", | |
"@@ -15,7 +15,7 @@", | |
" {", | |
" \"neighbor_address\": \"CCIE\",", | |
" \"remote_as\": \"500\",", | |
"- \"update_source\": \"Loopback0\",", | |
"+ \"update_source\": \"Loopback1\",", | |
" \"version\": 4", | |
" }", | |
" ],", | |
"" | |
], | |
"diff_text": "--- before\n+++ after\n@@ -15,7 +15,7 @@\n {\n \"neighbor_address\": \"CCIE\",\n \"remote_as\": \"500\",\n- \"update_source\": \"Loopback0\",\n+ \"update_source\": \"Loopback1\",\n \"version\": 4\n }\n ],\n\n" | |
} | |
TASK [network.base.resource_manager : Detect if there is config drift.] ******** | |
task path: /home/rothakur/ansible-collections/collections/ansible_collections/network/base/roles/resource_manager/includes/check_drift.yaml:28 | |
fatal: [192.168.122.220]: FAILED! => { | |
"changed": false, | |
"msg": "configuration drift is found in cisco.ios.ios_bgp_global Resource" | |
} | |
PLAY RECAP ********************************************************************* | |
192.168.122.220 : ok=13 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment