summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
blob: 3cb11a4573d085b6f2fa74b5436aa4416800379c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- import_playbook: ../init/evaluate_groups.yml

- name: Subscribe hosts, update repos and update OS packages
  hosts: oo_all_hosts
  roles:
  - role: rhel_subscribe
    when:
    - deployment_type == 'openshift-enterprise'
    - ansible_distribution == "RedHat"
    - rhsub_user | default(False)
    - rhsub_pass | default(False)
  - role: openshift_repos
  - role: os_update_latest