forked from nmasse-itix/OpenShift-Lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallinone.yml
34 lines (29 loc) · 1.32 KB
/
allinone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# Check that the system running this playbook meets our requirements
# (see issues #5 and #9)
- include: "common/verify-local-requirements.yml"
- name: Prepare an "All-in-one" VM for OpenShift
hosts: allinone
become: yes
roles:
- { name: 'base', tags: 'base' }
- { name: 'name-resolution', tags: 'name-resolution' }
- { name: 'docker', tags: 'docker' }
- { name: 'openshift-prereq', tags: 'openshift-prereq' }
# Launch the OpenShift Installer Playbook
- include: "./openshift-ansible/playbooks/byo/config.yml"
- include: "./openshift-ansible/playbooks/byo/openshift-cluster/openshift-metrics.yml"
vars:
# The hostname to allocate to hawkular (one of the components enabling metrics monitoring)
openshift_metrics_hawkular_hostname: "{{ 'hawkular-metrics.' ~ lab_dns_suffix }}"
- name: Customize the OpenShift installation
hosts: allinone
become: yes
roles:
- { name: 'openshift-postinstall', tags: 'openshift-postinstall' }
- { name: 'hostpath-provisioner', tags: 'hostpath-provisioner' }
- { name: 'microcks', tags: 'microcks' }
- { name: 'sso', tags: 'sso' }
- { name: '3scale', tags: '3scale' }
# Update OpenShift to the latest asynchronous errata updates
- include: "./openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_6/upgrade.yml"