summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@vshn.ch>2017-08-28 13:32:29 +0200
committerMichael Hanselmann <hansmi@vshn.ch>2017-10-19 11:03:02 +0200
commita4ac8fbe3c33e51ce21c99cc12b29a28727954cd (patch)
treebaf39f6051e371fecbcbb46741c99716d96f771b /roles/openshift_sanitize_inventory
parent64f452f9081e380db41acf588a28fe4bb79a4e9e (diff)
downloadopenshift-a4ac8fbe3c33e51ce21c99cc12b29a28727954cd.tar.gz
openshift-a4ac8fbe3c33e51ce21c99cc12b29a28727954cd.tar.bz2
openshift-a4ac8fbe3c33e51ce21c99cc12b29a28727954cd.tar.xz
openshift-a4ac8fbe3c33e51ce21c99cc12b29a28727954cd.zip
Add variable to control whether NetworkManager hook is installed
We control /etc/resolv.conf and parts of the dnsmasq configuration via Puppet in our environment. The hook ends up overwriting the managed configuration.
Diffstat (limited to 'roles/openshift_sanitize_inventory')
-rw-r--r--roles/openshift_sanitize_inventory/tasks/unsupported.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_sanitize_inventory/tasks/unsupported.yml b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
index 39bf1780a..b70ab90a1 100644
--- a/roles/openshift_sanitize_inventory/tasks/unsupported.yml
+++ b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
@@ -11,6 +11,14 @@
will not function. This also means that NetworkManager must be installed
enabled and responsible for management of the primary interface.
+- name: Ensure that openshift_node_dnsmasq_install_network_manager_hook is true
+ when:
+ - not openshift_node_dnsmasq_install_network_manager_hook | default(true) | bool
+ fail:
+ msg: |-
+ The NetworkManager hook is considered a critical part of the DNS
+ infrastructure.
+
- set_fact:
__using_dynamic: True
when: