-
Notifications
You must be signed in to change notification settings - Fork 10
/
provision.yml
45 lines (32 loc) · 1007 Bytes
/
provision.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
35
36
37
38
39
40
41
42
43
44
45
---
## Wait For Servers To Boot
- hosts: "primary,replicas,maxscale"
become: yes
become_user: root
gather_facts: no
tasks:
- name: "Waiting For Servers To Initialize"
wait_for_connection:
## Bootstrap For Ansible
- hosts: "primary,replicas,maxscale"
become: yes
become_user: root
gather_facts: yes
vars_files:
- 'inventory/group_vars/distro/{{ ansible_distribution|lower }}{{ ansible_distribution_major_version }}.yml'
pre_tasks:
- name: "Bootstrapping System For Ansible"
raw: '{{ pre_task }}'
## Include Sub Playbooks
- name: "Preparing The Servers"
import_playbook: includes/prepare.yml
- name: "Setting Up GFS2"
import_playbook: includes/gfs2.yml
- name: "Installing MariaDB"
import_playbook: includes/install.yml
- name: "Setting Up ColumnStore Cluster"
import_playbook: includes/cluster.yml
- name: "Validating Installation"
import_playbook: includes/validate.yml
- name: "Configuring MaxScale"
import_playbook: includes/maxscale.yml