Skip to content

Commit

Permalink
Update qa.md
Browse files Browse the repository at this point in the history
  • Loading branch information
natenka committed May 15, 2020
1 parent 65b8060 commit 877c185
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
---
- name: Collect IOS facts
hosts: 192.168.100.100
tasks:
- name: Facts
ios_facts:
gather_subset: min
gather_network_resources:
- l2_interfaces
- name: Show ansible_network_resources
debug:
msg: "{{ (ansible_network_resources.l2_interfaces | selectattr('name', 'equalto', 'Ethernet1/1') | list | first ) }}"
Expand Down Expand Up @@ -44,7 +47,9 @@ PLAY RECAP *********************************************************************
---
- name: Run show commands on routers
hosts: 192.168.100.1
tasks:
- name: run show commands
ios_command:
commands: ping 192.168.100.5 timeout 1 repeat 10
Expand Down

0 comments on commit 877c185

Please sign in to comment.