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:
parent
5280042901
commit
a3dfabfdba
1 changed files with 10 additions and 0 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Reference in a new issue