summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-09-14 08:57:57 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-09-14 08:57:57 +0200
commit2d5704d7927a73aaeb6af1fa0a14427e766fd1e3 (patch)
treeaac4ad89b8b53423861336564db30a07d3571020 /playbooks/provisioning/openstack
parent0f7b04e1b445c255113175a4c11e547664a6306f (diff)
downloadopenshift-2d5704d7927a73aaeb6af1fa0a14427e766fd1e3.tar.gz
openshift-2d5704d7927a73aaeb6af1fa0a14427e766fd1e3.tar.bz2
openshift-2d5704d7927a73aaeb6af1fa0a14427e766fd1e3.tar.xz
openshift-2d5704d7927a73aaeb6af1fa0a14427e766fd1e3.zip
Make the `rhsm_register` value optional
This was a regression -- it used to be optional (defaulting to False), but among some changes we ended up requiring it again.
Diffstat (limited to 'playbooks/provisioning/openstack')
-rw-r--r--playbooks/provisioning/openstack/pre-install.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/provisioning/openstack/pre-install.yml b/playbooks/provisioning/openstack/pre-install.yml
index 9b49136da..45e9005cc 100644
--- a/playbooks/provisioning/openstack/pre-install.yml
+++ b/playbooks/provisioning/openstack/pre-install.yml
@@ -9,7 +9,7 @@
- hosts: OSEv3
become: true
roles:
- - { role: subscription-manager, when: hostvars.localhost.rhsm_register, tags: 'subscription-manager', ansible_sudo: true }
+ - { role: subscription-manager, when: hostvars.localhost.rhsm_register|default(False), tags: 'subscription-manager', ansible_sudo: true }
- { role: docker, tags: 'docker' }
- { role: openshift-prep, tags: 'openshift-prep' }