summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/byo/rhel_subscribe.yml')
-rw-r--r--playbooks/byo/rhel_subscribe.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml
new file mode 100644
index 000000000..f564905ea
--- /dev/null
+++ b/playbooks/byo/rhel_subscribe.yml
@@ -0,0 +1,12 @@
+---
+- hosts: all
+ 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