summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/byo/rhel_subscribe.yml')
-rw-r--r--playbooks/byo/rhel_subscribe.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml
index 3cb11a457..f70f05bac 100644
--- a/playbooks/byo/rhel_subscribe.yml
+++ b/playbooks/byo/rhel_subscribe.yml
@@ -6,9 +6,9 @@
roles:
- role: rhel_subscribe
when:
- - deployment_type == 'openshift-enterprise'
+ - openshift_deployment_type == 'openshift-enterprise'
- ansible_distribution == "RedHat"
- - rhsub_user | default(False)
- - rhsub_pass | default(False)
+ - rhsub_user is defined
+ - rhsub_pass is defined
- role: openshift_repos
- role: os_update_latest