Skip to content

Commit

Permalink
Parsing was incorrect due to only allowing for up interfaces (ansible…
Browse files Browse the repository at this point in the history
…-network#55)

Changed to allow (up|down|administratively down)

Signed-off-by: Michael Wiggins <wiggimt@gmail.com>
  • Loading branch information
wiggimt authored and gdpak committed Nov 29, 2018
1 parent 88b3077 commit 18579a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser_templates/cli/show_interfaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

- name: match sections
pattern_match:
regex: "^\\S+ is up,"
regex: "^\\S+ is (up|down|administratively down),"
match_all: yes
match_greedy: yes
register: context
Expand Down

0 comments on commit 18579a0

Please sign in to comment.