summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt
diff options
context:
space:
mode:
authorPep TurrĂ³ Mauri <pep@redhat.com>2016-01-29 11:57:43 +0100
committerPep TurrĂ³ Mauri <pep@redhat.com>2016-02-09 12:57:34 +0100
commit9206f379bdc38ffe4d46efea6b56058ab3dda7b7 (patch)
tree7adfba015a5835693cb9bca52607b2221abca5cd /playbooks/libvirt
parentfda67ef2addee2cb4cb982c8b9e0eb13bcf9ff7e (diff)
downloadopenshift-9206f379bdc38ffe4d46efea6b56058ab3dda7b7.tar.gz
openshift-9206f379bdc38ffe4d46efea6b56058ab3dda7b7.tar.bz2
openshift-9206f379bdc38ffe4d46efea6b56058ab3dda7b7.tar.xz
openshift-9206f379bdc38ffe4d46efea6b56058ab3dda7b7.zip
Add missing atomic- and openshift-enterprise
Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
Diffstat (limited to 'playbooks/libvirt')
-rw-r--r--playbooks/libvirt/openshift-cluster/terminate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/terminate.yml b/playbooks/libvirt/openshift-cluster/terminate.yml
index 8d845c8f2..f4749c28d 100644
--- a/playbooks/libvirt/openshift-cluster/terminate.yml
+++ b/playbooks/libvirt/openshift-cluster/terminate.yml
@@ -23,7 +23,7 @@
- vars.yml
roles:
- role: rhel_unsubscribe
- when: deployment_type == "enterprise" and
+ when: deployment_type in ['atomic-enterprise', 'enterprise', 'openshift-enterprise'] and
ansible_distribution == "RedHat" and
lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
default('no', True) | lower in ['no', 'false']