diff options
author | Chris Callegari <mazzystr@gmail.com> | 2017-12-13 17:50:17 -0500 |
---|---|---|
committer | Chris Callegari <mazzystr@gmail.com> | 2017-12-14 08:44:06 -0500 |
commit | 2fb03f8078fc8810544b099f4794d147c6cbcde8 (patch) | |
tree | e6609b6ced8f268d54dd1ec5a6630cdbb2b9661f /playbooks | |
parent | 01ae634a0bf89fe840006f9139f8ffd20e09afc8 (diff) | |
download | openshift-2fb03f8078fc8810544b099f4794d147c6cbcde8.tar.gz openshift-2fb03f8078fc8810544b099f4794d147c6cbcde8.tar.bz2 openshift-2fb03f8078fc8810544b099f4794d147c6cbcde8.tar.xz openshift-2fb03f8078fc8810544b099f4794d147c6cbcde8.zip |
Commit to stabalize RHSM operations. This code is derived from contrib
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/init/repos.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/playbooks/init/repos.yml b/playbooks/init/repos.yml index a7114fc80..4967b8f13 100644 --- a/playbooks/init/repos.yml +++ b/playbooks/init/repos.yml @@ -3,6 +3,14 @@ hosts: oo_all_hosts gather_facts: no tasks: + - name: subscribe instances to Red Hat Subscription Manager + include_role: + name: rhel_subscribe + when: + - ansible_distribution == 'RedHat' + - deployment_type == 'openshift-enterprise' + - (rhel_subscription_user or rhsub_user) is defined + - (rhel_subscription_password or rhsub_pass) is defined - name: initialize openshift repos include_role: name: openshift_repos |