1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't validate ip address for mgmt interface (#56136)

It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-05-09 08:02:50 -04:00 committed by Nilashish Chakraborty
parent fbee506284
commit f9589bd4b1
4 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@
# Items from those subsets are present
- "result.ansible_facts.ansible_net_filesystems is defined" #hw
- "result.ansible_facts.ansible_net_memtotal_mb > 10" #hw
- "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces
- "result.ansible_facts.ansible_net_interfaces.Management1" # interfaces
# ... and not present
- "result.ansible_facts.ansible_net_config is not defined" # config

View file

@ -23,7 +23,7 @@
- "'hardware' not in result.ansible_facts.ansible_net_gather_subset"
# Items from those subsets are present
- "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces
- "result.ansible_facts.ansible_net_interfaces.Management1" # interfaces
# ... and not present
- "result.ansible_facts.ansible_net_filesystems is not defined"

View file

@ -27,7 +27,7 @@
# Items from those subsets are present
- "result.ansible_facts.ansible_net_filesystems is defined" #hw
- "result.ansible_facts.ansible_net_memtotal_mb > 10" #hw
- "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces
- "result.ansible_facts.ansible_net_interfaces.Management1" # interfaces
# ... and not present
- "result.ansible_facts.ansible_net_config is not defined" # config

View file

@ -27,7 +27,7 @@
- "'hardware' not in result.ansible_facts.ansible_net_gather_subset"
# Items from those subsets are present
- "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces
- "result.ansible_facts.ansible_net_interfaces.Management1" # interfaces
# ... and not present
- "result.ansible_facts.ansible_net_filesystems is not defined"