diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-12-14 15:54:45 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-12-14 16:34:00 -0500 |
commit | fe801cb7fbf983ef397257117da30ce4ccc938b4 (patch) | |
tree | c6e9dabf625f5e2f17ef2fab516839638f4d4957 /roles/openshift_repos | |
parent | 22794be6953a6896bbb550e3bb3c82caf202c8e2 (diff) | |
download | openshift-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 'roles/openshift_repos')
-rw-r--r-- | roles/openshift_repos/tasks/main.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_repos/tasks/main.yaml b/roles/openshift_repos/tasks/main.yaml index 83954eaf8..3a6667863 100644 --- a/roles/openshift_repos/tasks/main.yaml +++ b/roles/openshift_repos/tasks/main.yaml @@ -41,8 +41,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 is defined + - rhsub_password is defined - include_tasks: centos_repos.yml when: |