diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-29 16:18:49 -0500 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-01-29 16:18:49 -0500 |
commit | 3d72d46b4e5447b80100464da4aa7ac0fa111a3c (patch) | |
tree | b524401f9d3129ea5ad6473c2dff7e6f2abdd4d0 /roles/rhel_subscribe | |
parent | 20537c6b1bf3d6908edf4d5c93324ced8c53f91f (diff) | |
parent | 3e450c25f2e03ee06d8ef7d6825cd36294c77007 (diff) | |
download | openshift-3d72d46b4e5447b80100464da4aa7ac0fa111a3c.tar.gz openshift-3d72d46b4e5447b80100464da4aa7ac0fa111a3c.tar.bz2 openshift-3d72d46b4e5447b80100464da4aa7ac0fa111a3c.tar.xz openshift-3d72d46b4e5447b80100464da4aa7ac0fa111a3c.zip |
Merge pull request #1114 from lhuard1A/fix_update_repos_and_packages
Fix update_repos_and_packages playbook which now needs openshift_facts
Diffstat (limited to 'roles/rhel_subscribe')
-rw-r--r-- | roles/rhel_subscribe/meta/main.yml | 2 | ||||
-rw-r--r-- | roles/rhel_subscribe/tasks/main.yml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/roles/rhel_subscribe/meta/main.yml b/roles/rhel_subscribe/meta/main.yml new file mode 100644 index 000000000..bbc3ad172 --- /dev/null +++ b/roles/rhel_subscribe/meta/main.yml @@ -0,0 +1,2 @@ +dependencies: + - openshift_facts diff --git a/roles/rhel_subscribe/tasks/main.yml b/roles/rhel_subscribe/tasks/main.yml index eecfd04a0..85e17ff9d 100644 --- a/roles/rhel_subscribe/tasks/main.yml +++ b/roles/rhel_subscribe/tasks/main.yml @@ -41,4 +41,5 @@ command: subscription-manager subscribe --pool {{ openshift_pool_id.stdout_lines[0] }} - include: enterprise.yml - when: deployment_type in [ 'enterprise', 'atomic-enterprise', 'openshift-enterprise' ] + when: deployment_type in [ 'enterprise', 'atomic-enterprise', 'openshift-enterprise' ] and + not openshift.common.is_atomic | bool |