vmware_host_ipv6: only changed when changed (#57702)
Do not return the `changed` status when a reboot is required. The configuration is applied and so the configuration changed has already been done.
This commit is contained in:
parent
166a5c909c
commit
6537d1bc0f
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ class VmwareHostIPv6(PyVmomi):
|
|||
results['result'][host.name]['msg'] = "IPv6 is already enabled and active for host '%s'" % \
|
||||
host.name
|
||||
if not host_network_info.ipV6Enabled:
|
||||
changed = True
|
||||
results['result'][host.name]['msg'] = ("IPv6 is already enabled for host '%s', but a reboot"
|
||||
" is required!" % host.name)
|
||||
# Enable IPv6
|
||||
|
|
Loading…
Reference in a new issue