diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-06-19 16:15:42 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-06-30 16:22:53 -0400 |
commit | d195bb2dba76da80df33b777a13d2d719e74b735 (patch) | |
tree | c4fd95064213e73ab217f365d476d5a08051923d /roles/openshift_sanitize_inventory | |
parent | a4eccf0279529c2179afd72cf2b478e1ff51cf86 (diff) | |
download | openshift-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.yml | 4 | ||||
-rw-r--r-- | roles/openshift_sanitize_inventory/tasks/unsupported.yml | 12 |
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. |