summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-19 16:15:42 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-30 16:22:53 -0400
commitd195bb2dba76da80df33b777a13d2d719e74b735 (patch)
treec4fd95064213e73ab217f365d476d5a08051923d /roles/openshift_sanitize_inventory
parenta4eccf0279529c2179afd72cf2b478e1ff51cf86 (diff)
downloadopenshift-d195bb2dba76da80df33b777a13d2d719e74b735.tar.gz
openshift-d195bb2dba76da80df33b777a13d2d719e74b735.tar.bz2
openshift-d195bb2dba76da80df33b777a13d2d719e74b735.tar.xz
openshift-d195bb2dba76da80df33b777a13d2d719e74b735.zip
Run dns on the node and use that for dnsmasq
Diffstat (limited to 'roles/openshift_sanitize_inventory')
-rw-r--r--roles/openshift_sanitize_inventory/tasks/main.yml4
-rw-r--r--roles/openshift_sanitize_inventory/tasks/unsupported.yml12
2 files changed, 16 insertions, 0 deletions
diff --git a/roles/openshift_sanitize_inventory/tasks/main.yml b/roles/openshift_sanitize_inventory/tasks/main.yml
index f15dc16d1..59ce505d3 100644
--- a/roles/openshift_sanitize_inventory/tasks/main.yml
+++ b/roles/openshift_sanitize_inventory/tasks/main.yml
@@ -46,3 +46,7 @@
msg: |-
openshift_release is "{{ openshift_release }}" which is not a valid version string.
Please set it to a version string like "3.4".
+
+- include: unsupported.yml
+ when:
+ - not openshift_enable_unsupported_configurations | default(false) | bool
diff --git a/roles/openshift_sanitize_inventory/tasks/unsupported.yml b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
new file mode 100644
index 000000000..24e44ea85
--- /dev/null
+++ b/roles/openshift_sanitize_inventory/tasks/unsupported.yml
@@ -0,0 +1,12 @@
+---
+# This task list checks for unsupported configurations. Values here should yield
+# a partially functioning cluster but would not be supported for production use.
+
+- name: Ensure that openshift_use_dnsmasq is true
+ when:
+ - not openshift_use_dnsmasq | default(true) | bool
+ fail:
+ msg: |-
+ Starting in 3.6 openshift_use_dnsmasq must be true or critical features
+ will not function. This also means that NetworkManager must be installed
+ enabled and responsible for management of the primary interface.