summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
blob: dc9d0a1397b44d9301c892f54573f101fc6dc21f (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 is defined
    - rhsub_pass is defined
  - role: openshift_repos
  - role: os_update_latest