summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndra Machacek <machacek.ondra@gmail.com>2017-02-17 10:03:24 +0100
committerJohn R Barker <john@johnrbarker.com>2017-02-17 09:03:24 +0000
commita5d34f2ac2a88c821b5616d51de8d473c4715792 (patch)
tree499c82c31fa167e967dd9f9dfe2de2bcc49cf6ef
parent67f74bbc81447c67f34cf95ef0f98e1fdb7eb129 (diff)
downloadansible-a5d34f2ac2a88c821b5616d51de8d473c4715792.tar.gz
cloud: ovirt: add override_iptables to examples (#21474)
-rw-r--r--lib/ansible/modules/cloud/ovirt/ovirt_hosts.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py
index e4d569e0b5..ec12a0e423 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