summaryrefslogtreecommitdiffstats
path: root/roles/openshift_excluder
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-03-08 16:07:50 +0100
committerJan Chaloupka <jchaloup@redhat.com>2017-03-08 16:07:50 +0100
commit534438d93e4abfb3f9b875d21c2eac37e34c8c97 (patch)
tree4ad2d26671b282c2a3a64d5a319f8caf268d054c /roles/openshift_excluder
parentb551ba3afbe6bf2b4888bd62dc0f5a837edadb67 (diff)
downloadopenshift-534438d93e4abfb3f9b875d21c2eac37e34c8c97.tar.gz
openshift-534438d93e4abfb3f9b875d21c2eac37e34c8c97.tar.bz2
openshift-534438d93e4abfb3f9b875d21c2eac37e34c8c97.tar.xz
openshift-534438d93e4abfb3f9b875d21c2eac37e34c8c97.zip
enable excluders by default
Diffstat (limited to 'roles/openshift_excluder')
-rw-r--r--roles/openshift_excluder/defaults/main.yml2
-rw-r--r--roles/openshift_excluder/tasks/init.yml4
2 files changed, 4 insertions, 2 deletions
diff --git a/roles/openshift_excluder/defaults/main.yml b/roles/openshift_excluder/defaults/main.yml
index 0d275e954..7c3ae2a86 100644
--- a/roles/openshift_excluder/defaults/main.yml
+++ b/roles/openshift_excluder/defaults/main.yml
@@ -2,3 +2,5 @@
# keep the 'current' package or update to 'latest' if available?
openshift_excluder_package_state: present
docker_excluder_package_state: present
+
+enable_excluders: true
diff --git a/roles/openshift_excluder/tasks/init.yml b/roles/openshift_excluder/tasks/init.yml
index dee779925..1ea18f363 100644
--- a/roles/openshift_excluder/tasks/init.yml
+++ b/roles/openshift_excluder/tasks/init.yml
@@ -1,12 +1,12 @@
---
- name: Evalute if docker excluder is to be enabled
set_fact:
- docker_excluder_on: "{{ enable_docker_excluder | default(enable_excluders | default(false)) | bool }}"
+ docker_excluder_on: "{{ enable_docker_excluder | default(enable_excluders) | bool }}"
- debug: var=docker_excluder_on
- name: Evalute if openshift excluder is to be enabled
set_fact:
- openshift_excluder_on: "{{ enable_openshift_excluder | default(enable_excluders | default(false)) | bool }}"
+ openshift_excluder_on: "{{ enable_openshift_excluder | default(enable_excluders) | bool }}"
- debug: var=openshift_excluder_on