summaryrefslogtreecommitdiffstats
path: root/playbooks/provisioning/openstack/pre-install.yml
blob: 9b49136da52b64cb4445767bb6bbf4bf4cf7e070 (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, 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