summaryrefslogtreecommitdiffstats
path: root/playbooks/init/repos.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/init/repos.yml')
-rw-r--r--playbooks/init/repos.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/init/repos.yml b/playbooks/init/repos.yml
index 048b09e60..866c889b6 100644
--- a/playbooks/init/repos.yml
+++ b/playbooks/init/repos.yml
@@ -8,9 +8,9 @@
name: rhel_subscribe
when:
- ansible_distribution == 'RedHat'
- - deployment_type == 'openshift-enterprise'
- - rhsub_user | default(False)
- - rhsub_pass | default(False)
+ - openshift_deployment_type == 'openshift-enterprise'
+ - rhsub_user is defined
+ - rhsub_pass is defined
- name: initialize openshift repos
include_role:
name: openshift_repos