From a5d34f2ac2a88c821b5616d51de8d473c4715792 Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Fri, 17 Feb 2017 10:03:24 +0100 Subject: [PATCH] cloud: ovirt: add override_iptables to examples (#21474) --- lib/ansible/modules/cloud/ovirt/ovirt_hosts.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py index e4d569e0b57..ec12a0e423d 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py @@ -73,6 +73,7 @@ options: override_iptables: description: - "If True host iptables will be overridden by host deploy script." + - "Note that C(override_iptables) is I(false) by default in oVirt." force: description: - "If True host will be forcibly moved to desired state." @@ -108,12 +109,14 @@ EXAMPLES = ''' # Examples don't contain auth parameter for simplicity, # look at ovirt_auth module to see how to reuse authentication: -# Add host with username/password supporting SR-IOV: +# Add host with username/password supporting SR-IOV. +# Note that override_iptables is false by default in oVirt: - ovirt_hosts: cluster: Default name: myhost address: 10.34.61.145 password: secret + override_iptables: true kernel_params: - intel_iommu=on @@ -123,6 +126,7 @@ EXAMPLES = ''' cluster: Default name: myhost2 address: 10.34.61.145 + override_iptables: true # Deploy hosted engine host - ovirt_hosts: @@ -130,6 +134,7 @@ EXAMPLES = ''' name: myhost2 password: secret address: 10.34.61.145 + override_iptables: true hosted_engine: deploy # Maintenance