Created
March 29, 2023 08:40
-
-
Save rohitthakur2590/d6e4232767597f0e3e2a4844b54b2625 to your computer and use it in GitHub Desktop.
Network BGP Remediate Action
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
| 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 | |
| [WARNING]: conditional statements should not include jinja2 templating | |
| delimiters such as {{ }} or {% %}. Found: {{ module_vars[resource] }} | |
| changed: [192.168.122.220] => { | |
| "after": { | |
| "as_number": "500", | |
| "bgp": { | |
| "log_neighbor_changes": true | |
| }, | |
| "neighbors": [ | |
| { | |
| "neighbor_address": "12.0.0.1", | |
| "peer_group": "CCIE" | |
| }, | |
| { | |
| "neighbor_address": "23.0.0.1", | |
| "remote_as": "500" | |
| }, | |
| { | |
| "neighbor_address": "CCIE", | |
| "remote_as": "500", | |
| "update_source": "Loopback1", | |
| "version": 4 | |
| } | |
| ], | |
| "networks": [ | |
| { | |
| "address": "10.0.0.0" | |
| } | |
| ] | |
| }, | |
| "ansible_connection": "ansible.netcommon.network_cli", | |
| "ansible_network_os": "cisco.ios.ios", | |
| "before": { | |
| "as_number": "500", | |
| "bgp": { | |
| "log_neighbor_changes": true | |
| }, | |
| "neighbors": [ | |
| { | |
| "neighbor_address": "12.0.0.1", | |
| "peer_group": "CCIE" | |
| }, | |
| { | |
| "neighbor_address": "23.0.0.1", | |
| "remote_as": "500" | |
| }, | |
| { | |
| "neighbor_address": "CCIE", | |
| "remote_as": "500", | |
| "update_source": "Loopback0", | |
| "version": 4 | |
| } | |
| ], | |
| "networks": [ | |
| { | |
| "address": "10.0.0.0" | |
| } | |
| ] | |
| }, | |
| "changed": true, | |
| "commands": [ | |
| "router bgp 500", | |
| "neighbor CCIE update-source Loopback1" | |
| ], | |
| "invocation": { | |
| "module_args": { | |
| "config": { | |
| "aggregate_address": null, | |
| "aggregate_addresses": null, | |
| "as_number": "500", | |
| "auto_summary": null, | |
| "bgp": { | |
| "additional_paths": null, | |
| "advertise_best_external": null, | |
| "aggregate_timer": null, | |
| "always_compare_med": null, | |
| "asnotation": null, | |
| "bestpath": null, | |
| "bestpath_options": null, | |
| "client_to_client": null, | |
| "cluster_id": null, | |
| "confederation": null, | |
| "consistency_checker": null, | |
| "dampening": null, | |
| "deterministic_med": null, | |
| "dmzlink_bw": null, | |
| "enforce_first_as": null, | |
| "enhanced_error": null, | |
| "fast_external_fallover": null, | |
| "graceful_restart": null, | |
| "graceful_shutdown": null, | |
| "inject_map": null, | |
| "inject_maps": null, | |
| "listen": null, | |
| "log_neighbor_changes": true, | |
| "maxas_limit": null, | |
| "maxcommunity_limit": null, | |
| "maxextcommunity_limit": null, | |
| "nexthop": null, | |
| "nopeerup_delay": null, | |
| "nopeerup_delay_options": null, | |
| "recursion": null, | |
| "redistribute_internal": null, | |
| "refresh": null, | |
| "regexp": null, | |
| "route_map": null, | |
| "router_id": null, | |
| "scan_time": null, | |
| "slow_peer": null, | |
| "snmp": null, | |
| "soft_reconfig_backup": null, | |
| "sso": null, | |
| "suppress_inactive": null, | |
| "transport": null, | |
| "update_delay": null, | |
| "update_group": null, | |
| "upgrade_cli": null | |
| }, | |
| "bmp": null, | |
| "default_information": null, | |
| "default_metric": null, | |
| "distance": null, | |
| "distribute_list": null, | |
| "distributes": null, | |
| "maximum_paths": null, | |
| "maximum_secondary_paths": null, | |
| "neighbors": [ | |
| { | |
| "activate": null, | |
| "additional_paths": null, | |
| "address": null, | |
| "advertise": null, | |
| "advertise_map": null, | |
| "advertisement_interval": null, | |
| "aigp": null, | |
| "allow_policy": null, | |
| "allowas_in": null, | |
| "as_override": null, | |
| "bmp_activate": null, | |
| "capability": null, | |
| "cluster_id": null, | |
| "default_originate": null, | |
| "description": null, | |
| "disable_connected_check": null, | |
| "distribute_list": null, | |
| "dmzlink_bw": null, | |
| "ebgp_multihop": null, | |
| "fall_over": null, | |
| "filter_list": null, | |
| "ha_mode": null, | |
| "inherit": null, | |
| "ipv6_adddress": null, | |
| "local_as": null, | |
| "log_neighbor_changes": null, | |
| "maximum_prefix": null, | |
| "neighbor_address": "12.0.0.1", | |
| "next_hop_self": null, | |
| "next_hop_unchanged": null, | |
| "password": null, | |
| "password_options": null, | |
| "path_attribute": null, | |
| "peer_group": "CCIE", | |
| "remote_as": null, | |
| "remove_private_as": null, | |
| "route_map": null, | |
| "route_maps": null, | |
| "route_reflector_client": null, | |
| "route_server_client": null, | |
| "send_community": null, | |
| "send_label": null, | |
| "shutdown": null, | |
| "slow_peer": null, | |
| "soft_reconfiguration": null, | |
| "tag": null, | |
| "timers": null, | |
| "translate_update": null, | |
| "transport": null, | |
| "ttl_security": null, | |
| "unsuppress_map": null, | |
| "update_source": null, | |
| "version": null, | |
| "weight": null | |
| }, | |
| { | |
| "activate": null, | |
| "additional_paths": null, | |
| "address": null, | |
| "advertise": null, | |
| "advertise_map": null, | |
| "advertisement_interval": null, | |
| "aigp": null, | |
| "allow_policy": null, | |
| "allowas_in": null, | |
| "as_override": null, | |
| "bmp_activate": null, | |
| "capability": null, | |
| "cluster_id": null, | |
| "default_originate": null, | |
| "description": null, | |
| "disable_connected_check": null, | |
| "distribute_list": null, | |
| "dmzlink_bw": null, | |
| "ebgp_multihop": null, | |
| "fall_over": null, | |
| "filter_list": null, | |
| "ha_mode": null, | |
| "inherit": null, | |
| "ipv6_adddress": null, | |
| "local_as": null, | |
| "log_neighbor_changes": null, | |
| "maximum_prefix": null, | |
| "neighbor_address": "23.0.0.1", | |
| "next_hop_self": null, | |
| "next_hop_unchanged": null, | |
| "password": null, | |
| "password_options": null, | |
| "path_attribute": null, | |
| "peer_group": null, | |
| "remote_as": "500", | |
| "remove_private_as": null, | |
| "route_map": null, | |
| "route_maps": null, | |
| "route_reflector_client": null, | |
| "route_server_client": null, | |
| "send_community": null, | |
| "send_label": null, | |
| "shutdown": null, | |
| "slow_peer": null, | |
| "soft_reconfiguration": null, | |
| "tag": null, | |
| "timers": null, | |
| "translate_update": null, | |
| "transport": null, | |
| "ttl_security": null, | |
| "unsuppress_map": null, | |
| "update_source": null, | |
| "version": null, | |
| "weight": null | |
| }, | |
| { | |
| "activate": null, | |
| "additional_paths": null, | |
| "address": null, | |
| "advertise": null, | |
| "advertise_map": null, | |
| "advertisement_interval": null, | |
| "aigp": null, | |
| "allow_policy": null, | |
| "allowas_in": null, | |
| "as_override": null, | |
| "bmp_activate": null, | |
| "capability": null, | |
| "cluster_id": null, | |
| "default_originate": null, | |
| "description": null, | |
| "disable_connected_check": null, | |
| "distribute_list": null, | |
| "dmzlink_bw": null, | |
| "ebgp_multihop": null, | |
| "fall_over": null, | |
| "filter_list": null, | |
| "ha_mode": null, | |
| "inherit": null, | |
| "ipv6_adddress": null, | |
| "local_as": null, | |
| "log_neighbor_changes": null, | |
| "maximum_prefix": null, | |
| "neighbor_address": "CCIE", | |
| "next_hop_self": null, | |
| "next_hop_unchanged": null, | |
| "password": null, | |
| "password_options": null, | |
| "path_attribute": null, | |
| "peer_group": null, | |
| "remote_as": "500", | |
| "remove_private_as": null, | |
| "route_map": null, | |
| "route_maps": null, | |
| "route_reflector_client": null, | |
| "route_server_client": null, | |
| "send_community": null, | |
| "send_label": null, | |
| "shutdown": null, | |
| "slow_peer": null, | |
| "soft_reconfiguration": null, | |
| "tag": null, | |
| "timers": null, | |
| "translate_update": null, | |
| "transport": null, | |
| "ttl_security": null, | |
| "unsuppress_map": null, | |
| "update_source": "Loopback1", | |
| "version": 4, | |
| "weight": null | |
| } | |
| ], | |
| "networks": [ | |
| { | |
| "address": "10.0.0.0", | |
| "backdoor": null, | |
| "netmask": null, | |
| "route_map": null | |
| } | |
| ], | |
| "redistribute": null, | |
| "route_server_context": null, | |
| "scope": null, | |
| "synchronization": null, | |
| "table_map": null, | |
| "template": null, | |
| "timers": null | |
| }, | |
| "running_config": null, | |
| "state": "replaced" | |
| } | |
| }, | |
| "resource_module_name": "cisco.ios.ios_bgp_global" | |
| } | |
| 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: [192.168.122.220] => { | |
| "changed": false, | |
| "skip_reason": "Conditional result was False" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment