diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-14 12:39:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 12:39:25 -0500 |
commit | 67db90531b25cae235eaa093d3d55a20c08d482d (patch) | |
tree | 0748e5c4b2899aab078ce775666651adfe1972a0 /playbooks | |
parent | a59820e01fd49fb1d50867571574fb20f3ce2692 (diff) | |
parent | 2fb03f8078fc8810544b099f4794d147c6cbcde8 (diff) | |
download | openshift-67db90531b25cae235eaa093d3d55a20c08d482d.tar.gz openshift-67db90531b25cae235eaa093d3d55a20c08d482d.tar.bz2 openshift-67db90531b25cae235eaa093d3d55a20c08d482d.tar.xz openshift-67db90531b25cae235eaa093d3d55a20c08d482d.zip |
Merge pull request #6404 from mazzystr/stablize_rhsm
Commit to stabilize 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 |