summaryrefslogtreecommitdiffstats
path: root/roles/openshift_excluder/defaults
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-05-11 11:46:34 -0400
committerRussell Teague <rteague@redhat.com>2017-05-16 11:20:26 -0400
commitc5c222eddb0b8950995105c4c406f5a5d0bfbacd (patch)
tree7f5cd9c30afb7f8f9e0d78696de0813078fb9928 /roles/openshift_excluder/defaults
parent15fd42020a0b5fee665c45cd23b9ba3bd152251d (diff)
downloadopenshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.gz
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.bz2
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.tar.xz
openshift-c5c222eddb0b8950995105c4c406f5a5d0bfbacd.zip
Rework openshift_excluders role
Diffstat (limited to 'roles/openshift_excluder/defaults')
-rw-r--r--roles/openshift_excluder/defaults/main.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/roles/openshift_excluder/defaults/main.yml b/roles/openshift_excluder/defaults/main.yml
index 7c3ae2a86..d4f151142 100644
--- a/roles/openshift_excluder/defaults/main.yml
+++ b/roles/openshift_excluder/defaults/main.yml
@@ -1,6 +1,19 @@
---
# keep the 'current' package or update to 'latest' if available?
-openshift_excluder_package_state: present
-docker_excluder_package_state: present
+r_openshift_excluder_package_state: present
+r_openshift_excluder_docker_package_state: present
-enable_excluders: true
+# Legacy variables are included for backwards compatibility with v3.5
+# Inventory variables Legacy
+# openshift_enable_excluders enable_excluders
+# openshift_enable_openshift_excluder enable_openshift_excluder
+# openshift_enable_docker_excluder enable_docker_excluder
+r_openshift_excluder_enable_excluders: "{{ openshift_enable_excluders | default(enable_excluders) | default(true) }}"
+r_openshift_excluder_enable_openshift_excluder: "{{ openshift_enable_openshift_excluder | default(enable_openshift_excluder) | default(r_openshift_excluder_enable_excluders) }}"
+r_openshift_excluder_enable_docker_excluder: "{{ openshift_enable_docker_excluder | default(enable_docker_excluder) | default(r_openshift_excluder_enable_excluders) }}"
+
+# Default action when calling this role
+r_openshift_excluder_action: enable
+
+# When upgrading, this variable should be set to true when calling the role
+r_openshift_excluder_verify_upgrade: false