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
| - debug: | |
| msg: task 1 | |
| - debug: | |
| msg: task 2 | |
| - set_fact: | |
| please_continue: False | |
| - debug: | |
| msg: task 3 |
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
| - hosts: localhost | |
| gather_facts: False | |
| tasks: | |
| - set_fact: | |
| output: | | |
| BGP table version is 6, local router ID is 1.1.1.1 | |
| Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, | |
| r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, | |
| x best-external, a additional-path, c RIB-compressed, | |
| t secondary path, |
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
| - hosts: eos101 | |
| gather_facts: False | |
| tasks: | |
| - name: Define the openconfig interface filter | |
| set_fact: | |
| filter: | |
| interfaces: | |
| "@xmlns": "http://openconfig.net/yang/interfaces" | |
| interface: |
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
| { | |
| "GigabitEthernet0/0/0/0": { | |
| "auto_negotiate": false, | |
| "bandwidth": 1000000, | |
| "bandwidth_max": 1000000, | |
| "carrier_delay_up": 10, | |
| "counters": { | |
| "carrier_transitions": 1, | |
| "in_abort": 0, | |
| "in_broadcast_pkts": 0, |
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
| PLAY [localhost] ********************************************************************************************************************** | |
| META: ran handlers | |
| TASK [set_fact] *********************************************************************************************************************** | |
| task path: /home/brad/github/dotbracket/site.yaml:4 | |
| ok: [localhost] => changed=false | |
| ansible_facts: | |
| a: | |
| b: |
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 [set_fact] *********************************************************************************************************************** | |
| task path: /home/brad/github/dotbracket/site.yaml:4 | |
| ok: [localhost] => changed=false | |
| ansible_facts: | |
| a: | |
| b: | |
| c: | |
| d: | |
| - 0 |
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
| - hosts: nxos101 | |
| gather_facts: false | |
| vars: | |
| file_name: "{{ inventory_hostname}}_proposed.txt" | |
| interface_config: | |
| - name: Ethernet1/1 | |
| description: Configured by Brad | |
| enabled: true | |
| - name: Ethernet1/2 | |
| description: Configured by Ansible Network |
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
| # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
| from __future__ import absolute_import, division, print_function | |
| __metaclass__ = type #pylint: disable=C0103 | |
| from datetime import datetime | |
| import uuid | |
| from ansible.plugins.callback import CallbackBase |
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
| all: | |
| hosts: | |
| host1: | |
| host2: | |
| host3: | |
| host4: | |
| host5: |
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
| PLAY [localhost] ********************************************************************************************************** | |
| META: ran handlers | |
| TASK [set_fact] *********************************************************************************************************** | |
| task path: /home/bthornto/github/xml_filters/cli_parse_example.yaml:5 | |
| ok: [localhost] => changed=false | |
| ansible_facts: | |
| lines: |- | |
| 90125 drwx 4096 Jul 19 2020 11:25:43 +00:00 tech_support |