summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-12-14 15:54:45 -0500
committerMichael Gugino <mgugino@redhat.com>2017-12-14 16:34:00 -0500
commitfe801cb7fbf983ef397257117da30ce4ccc938b4 (patch)
treec6e9dabf625f5e2f17ef2fab516839638f4d4957 /playbooks/byo
parent22794be6953a6896bbb550e3bb3c82caf202c8e2 (diff)
downloadopenshift-fe801cb7fbf983ef397257117da30ce4ccc938b4.tar.gz
openshift-fe801cb7fbf983ef397257117da30ce4ccc938b4.tar.bz2
openshift-fe801cb7fbf983ef397257117da30ce4ccc938b4.tar.xz
openshift-fe801cb7fbf983ef397257117da30ce4ccc938b4.zip
Move repo and subscribe to prerequisites
This commit refactors some steps in rhel subscribe and moves repos.yml from init/main to prerequisites.
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/rhel_subscribe.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml
index 5a877809a..3cb11a457 100644
--- a/playbooks/byo/rhel_subscribe.yml
+++ b/playbooks/byo/rhel_subscribe.yml
@@ -8,6 +8,7 @@
when:
- deployment_type == 'openshift-enterprise'
- ansible_distribution == "RedHat"
- - lookup('env', 'rhel_skip_subscription') | default(rhsub_skip, True) | default('no', True) | lower in ['no', 'false']
+ - rhsub_user | default(False)
+ - rhsub_pass | default(False)
- role: openshift_repos
- role: os_update_latest