summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
blob: 60300c3dc2e34476aba8de6120794d4b6e4f4192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- hosts: all
  vars:
    deployment_type: "{{ openshift_deployment_type }}"
  roles:
  - role: rhel_subscribe
    when: openshift_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