diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py b/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py index 5cf3fac3799..0711c2e24b2 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_affinity_group.py @@ -43,8 +43,9 @@ options: description: - If I(positive) I(all) VMs in this group should run on the this host. - If I(negative) I(no) VMs in this group should run on the this host. + - If I(disabled) this affinity group doesn't take effect. - This parameter is support since oVirt/RHV 4.1 version. - choices: [ negative, positive ] + choices: [ disabled, negative, positive ] vm_enforcing: description: - If I(yes) VM cannot start if it does not satisfy the C(vm_rule). @@ -256,7 +257,7 @@ def main(): vm_enforcing=dict(type='bool'), vm_rule=dict(type='str', choices=['disabled', 'negative', 'positive']), host_enforcing=dict(type='bool'), - host_rule=dict(type='str', choices=['negative', 'positive']), + host_rule=dict(type='str', choices=['disabled', 'negative', 'positive']), vms=dict(type='list'), hosts=dict(type='list'), )