ovirt_affinity_group: add host rule option disabled (#65704)

This commit is contained in:
Martin Nečas 2019-12-19 09:28:43 +01:00 committed by ansibot
parent 6a880b78a2
commit 31eb1a1412

View file

@ -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'),
)