summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-07-17 16:22:09 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-07-17 16:22:09 -0400
commit27c0895327dc5d1153aae6c63e7a70f13eb1f0d4 (patch)
treea7a850a3f490e89fbc4956013a3e95bde08552eb /playbooks/common
parentb37fcf39edf13c90e7df33b41b4ca8de0aca0838 (diff)
parentfb4083bb920d193c2f292b49f370667029c317ba (diff)
downloadopenshift-27c0895327dc5d1153aae6c63e7a70f13eb1f0d4.tar.gz
openshift-27c0895327dc5d1153aae6c63e7a70f13eb1f0d4.tar.bz2
openshift-27c0895327dc5d1153aae6c63e7a70f13eb1f0d4.tar.xz
openshift-27c0895327dc5d1153aae6c63e7a70f13eb1f0d4.zip
Merge pull request #264 from lhuard1A/rhel_subscription
Implement RHEL subscription for enterprise deployment type
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/update_repos_and_packages.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/update_repos_and_packages.yml b/playbooks/common/openshift-cluster/update_repos_and_packages.yml
index e92c6f1ee..190e2d862 100644
--- a/playbooks/common/openshift-cluster/update_repos_and_packages.yml
+++ b/playbooks/common/openshift-cluster/update_repos_and_packages.yml
@@ -3,5 +3,10 @@
vars:
openshift_deployment_type: "{{ deployment_type }}"
roles:
+ - role: rhel_subscribe
+ when: deployment_type == "enterprise" and
+ ansible_distribution == "RedHat" and
+ lookup('oo_option', 'rhel_skip_subscription') | default(rhsub_skip, True) |
+ default('no', True) | lower in ['no', 'false']
- openshift_repos
- os_update_latest