Skip to content

Commit

Permalink
sanity fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
  • Loading branch information
rohitthakur2590 committed Jul 23, 2020
1 parent 73d65f2 commit 3641606
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
interface Loopback888
description test for ansible automation
shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- name: Use src with module alias
register: result
cisco.iosxr.config:
src: basic/config.j2
src: basic/configuration.j2

- assert:
that:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- assert:
that:
- result.changed == true
- '"logging 172.16.0.1 vrf default severity info" in result.commands'
- '"logging 172.16.0.1 vrf default severity debugging" in result.commands'

- name: Remove host logging - teardown
ansible.netcommon.net_logging:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,6 @@
- '"notice" in result.xml[2]'
- '"alert" in result.xml[3]'
- '"4700000" in result.xml[4]'
- '"info" in result.xml[5]'
- '"debug" in result.xml[5]'
- '"local3" in result.xml[6]'
- '"host3" in result.xml[7]'

0 comments on commit 3641606

Please sign in to comment.