summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-01 22:32:28 -0400
committerGitHub <noreply@github.com>2017-07-01 22:32:28 -0400
commita9d8e96663ba0520e6ec89d968790c3d23cb18af (patch)
tree533372eba2ca10b7ca0be2edad3c84c3e4e7a921 /roles/openshift_sanitize_inventory
parent7c045ba7cfb6c6d15ea2d94830e048c335bda594 (diff)
parent841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e (diff)
downloadopenshift-a9d8e96663ba0520e6ec89d968790c3d23cb18af.tar.gz
openshift-a9d8e96663ba0520e6ec89d968790c3d23cb18af.tar.bz2
openshift-a9d8e96663ba0520e6ec89d968790c3d23cb18af.tar.xz
openshift-a9d8e96663ba0520e6ec89d968790c3d23cb18af.zip
Merge pull request #4530 from sdodson/node-dns
Utilize node dns services
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.