summaryrefslogtreecommitdiffstats
path: root/roles/rhel_subscribe/tasks
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2016-01-29 16:18:49 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2016-01-29 16:18:49 -0500
commit3d72d46b4e5447b80100464da4aa7ac0fa111a3c (patch)
treeb524401f9d3129ea5ad6473c2dff7e6f2abdd4d0 /roles/rhel_subscribe/tasks
parent20537c6b1bf3d6908edf4d5c93324ced8c53f91f (diff)
parent3e450c25f2e03ee06d8ef7d6825cd36294c77007 (diff)
downloadopenshift-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/tasks')
-rw-r--r--roles/rhel_subscribe/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
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