summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/rhel_subscribe.yml
blob: f70f05bac2fdfe75da21e077d8852b7f5664ef93 (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:
    - openshift_deployment_type == 'openshift-enterprise'
    - ansible_distribution == "RedHat"
    - rhsub_user is defined
    - rhsub_pass is defined
  - role: openshift_repos
  - role: os_update_latest