summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/update_repos_and_packages.yml
blob: 6e4ad7d3fffd822db42acb6c002a7c75dc821a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- hosts: oo_hosts_to_update
  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']
  - {role: openshift_repos, when: not is_atomic}
  - os_update_latest