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.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/init/repos.yml b/playbooks/init/repos.yml
index 4967b8f13..048b09e60 100644
--- a/playbooks/init/repos.yml
+++ b/playbooks/init/repos.yml
@@ -9,8 +9,8 @@
when:
- ansible_distribution == 'RedHat'
- deployment_type == 'openshift-enterprise'
- - (rhel_subscription_user or rhsub_user) is defined
- - (rhel_subscription_password or rhsub_pass) is defined
+ - rhsub_user | default(False)
+ - rhsub_pass | default(False)
- name: initialize openshift repos
include_role:
name: openshift_repos