summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-09-12 11:07:12 -0400
committerMichael Gugino <mgugino@redhat.com>2017-09-20 13:04:03 -0400
commit4b8f66c37b865c7be59310854f5f9bd3de3e01bb (patch)
tree0de1cd2d6b8710503e7f2a1dc6c8fa1271b46ca6 /roles/openshift_node
parentaf580f808d78667bde54b88d4c33fca493828945 (diff)
downloadopenshift-4b8f66c37b865c7be59310854f5f9bd3de3e01bb.tar.gz
openshift-4b8f66c37b865c7be59310854f5f9bd3de3e01bb.tar.bz2
openshift-4b8f66c37b865c7be59310854f5f9bd3de3e01bb.tar.xz
openshift-4b8f66c37b865c7be59310854f5f9bd3de3e01bb.zip
Cleanup old deployment types
Previously, openshift-ansible supported various types of deployments using the variable "openshift_deployment_type" Currently, openshift-ansible only supports two deployment types, "origin" and "openshift-enterprise". This commit removes all logic and references to deprecated deployment types.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index ef79b6ac0..e82fb42b8 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -2,7 +2,8 @@
- fail:
msg: "SELinux is disabled, This deployment type requires that SELinux is enabled."
when:
- - (not ansible_selinux or ansible_selinux.status != 'enabled') and deployment_type in ['enterprise', 'online', 'atomic-enterprise', 'openshift-enterprise']
+ - (not ansible_selinux or ansible_selinux.status != 'enabled')
+ - deployment_type == 'openshift-enterprise'
- not openshift_use_crio | default(false)
- name: setup firewall