summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/pre-install.yml
blob: 45e9005cc9a814591e58049a1f002fdd45742d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
###############################
# OpenShift Pre-Requisites

# - subscribe hosts
# - prepare docker
# - other prep (install additional packages, etc.)
#
- hosts: OSEv3
  become: true
  roles:
    - { role: subscription-manager, when: hostvars.localhost.rhsm_register|default(False), tags: 'subscription-manager', ansible_sudo: true }
    - { role: docker, tags: 'docker' }
    - { role: openshift-prep, tags: 'openshift-prep' }

- hosts: localhost:cluster_hosts
  become: False
  tasks:
    - include: pre_tasks.yml