blob: 990e77fc66ccf6775e53f0832cd816aae17fc947 (
plain)
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
|
# Deploy aus-colo specific roles
---
- name: Configure firewall/router
hosts: router.aus-colo.linaro.org
become: yes
vars_files:
- "{{secrets_dir}}/host_vars/{{inventory_hostname}}"
roles:
- role: colo-router
- name: Configure bastion
hosts: aus-colo.linaro.org
become: yes
vars_files:
- "{{secrets_dir}}/host_vars/{{inventory_hostname}}"
- "reservations.yml"
roles:
- role: colo-bastion
- {role: pdu-liebert, tags: [colo_users]}
- name: Configure our x86-1 top-of-rack servers
hosts:
- r1-x86-1.aus-colo.linaro.org
- r2-x86-1.aus-colo.linaro.org
- r3-x86-1.aus-colo.linaro.org
become: yes
vars_files:
- "reservations.yml"
roles:
- {role: colo-console-server, tags: [colo_users]}
- name: Configure rack2 PXE
hosts:
- r2-x86-1.aus-colo.linaro.org
vars_files:
- "{{secrets_dir}}/group_vars/aus-colo"
- host_vars/router.aus-colo.linaro.org
become: yes
roles:
- {role: colo-pxe, tags: [pxe]}
- {role: apache-site, src: pxe-kickstart.conf, config: kickstart, tags: [apache] }
|