vmware_host_ipv6/test: reset status before new check

Ensure a disable IPv6 before we try to re-enable it. This to get a
consistent result.
This commit is contained in:
Gonéri Le Bouder 2020-01-15 10:27:00 -05:00
parent 5280042901
commit a3dfabfdba

View file

@ -49,6 +49,16 @@
- host_ipv6_info_check_mode is defined
- not (host_ipv6_info_check_mode is changed)
- name: Reset the status again
vmware_host_ipv6:
hostname: "{{ vcenter_hostname }}"
username: "{{ vcenter_username }}"
password: "{{ vcenter_password }}"
cluster_name: "{{ ccr1 }}"
validate_certs: no
state: disabled
register: host_ipv6_info
- name: Enable IPv6 support for all hosts in given cluster
vmware_host_ipv6:
hostname: "{{ vcenter_hostname }}"