2017-10-28 18:30:27 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
become: yes
|
|
|
|
|
|
|
|
vars_files:
|
2017-11-05 00:21:59 +00:00
|
|
|
- roles/0-init/defaults/main.yml
|
2017-10-28 18:30:27 +00:00
|
|
|
- vars/default_vars.yml
|
|
|
|
- vars/{{ ansible_local.local_facts.os_ver }}.yml
|
|
|
|
- vars/local_vars.yml
|
|
|
|
|
2017-10-31 00:45:52 +00:00
|
|
|
tasks:
|
2017-10-31 00:46:43 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 0-init
|
|
|
|
include_role:
|
|
|
|
name: 0-init
|
|
|
|
tags: 0-init
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 1-prep
|
|
|
|
include_role:
|
|
|
|
name: 1-prep
|
|
|
|
when: ansible_local.local_facts.stage|int < 1
|
|
|
|
tags: 1-prep, platform, base
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 2-common
|
|
|
|
include_role:
|
|
|
|
name: 2-common
|
|
|
|
when: ansible_local.local_facts.stage|int < 2
|
|
|
|
tags: 2-common, base
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 3-base-server
|
|
|
|
include_role:
|
|
|
|
name: 3-base-server
|
|
|
|
when: ansible_local.local_facts.stage|int < 3
|
|
|
|
tags: 3-base-server, base
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 4-server-options
|
|
|
|
include_role:
|
|
|
|
name: 4-server-options
|
|
|
|
when: ansible_local.local_facts.stage|int < 4
|
|
|
|
tags: 4-server-options
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 5-xo-services
|
|
|
|
include_role:
|
|
|
|
name: 5-xo-services
|
|
|
|
when: ansible_local.local_facts.stage|int < 5
|
|
|
|
tags: 5-xo-services
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 6-generic-apps
|
|
|
|
include_role:
|
|
|
|
name: 6-generic-apps
|
|
|
|
when: ansible_local.local_facts.stage|int < 6
|
|
|
|
tags: 6-generic-apps
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 7-edu-apps
|
|
|
|
include_role:
|
|
|
|
name: 7-edu-apps
|
|
|
|
when: ansible_local.local_facts.stage|int < 7
|
|
|
|
tags: 7-edu-apps
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 8-mgmt-tools
|
|
|
|
include_role:
|
|
|
|
name: 8-mgmt-tools
|
|
|
|
when: ansible_local.local_facts.stage|int < 8
|
|
|
|
tags: 8-mgmt-tools
|
2017-10-30 20:56:52 +00:00
|
|
|
|
2017-10-30 21:12:19 +00:00
|
|
|
- name: 9-local-addons
|
|
|
|
include_role:
|
|
|
|
name: 9-local-addons
|
|
|
|
when: ansible_local.local_facts.stage|int < 9
|
|
|
|
tags: 9-local-addons
|