summaryrefslogtreecommitdiff
path: root/aus-colo-servers.yml
blob: d428ced503b1b1b0d833fac5201ea61fc06c2743 (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: aus-colo.linaro.org
  become: yes
  vars_files:
    - "{{secrets_dir}}/host_vars/{{inventory_hostname}}"
    - "reservations.yml"
  roles:
  - role: colo-router
  - {role: pdu-liebert, tags: [colo_users]}
  - {role: devcloud-admin, tags: [devcloud]}

- 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"
    - "{{secrets_dir}}/group_vars/dev-cloud"
    - host_vars/aus-colo.linaro.org
  become: yes
  roles:
  - {role: colo-pxe, tags: [pxe]}

- name: Configure MAAS
  hosts:
  - r1-maas-server.aus-colo.linaro.org
  roles:
  - role: colo-maas-server
    become: yes