2021-11-06 01:53:03 +00:00
|
|
|
---
|
|
|
|
- name: Group hosts by platform
|
|
|
|
hosts: all
|
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
pre_tasks:
|
|
|
|
- include_tasks: tasks/meta/runtime-group-determination.yaml
|
|
|
|
|
|
|
|
|
|
|
|
- name: Bootstrap remote ansible environment
|
|
|
|
hosts: linux
|
|
|
|
gather_facts: false
|
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
tasks:
|
|
|
|
- include_tasks: tasks/meta/bootstrap-remote-env.yaml
|
|
|
|
|
2021-11-11 02:59:04 +00:00
|
|
|
|
2021-11-17 04:20:58 +00:00
|
|
|
# [lemony snicket voice] "server" here being a word used to mean "not a workstation"
|
2021-11-16 01:54:28 +00:00
|
|
|
- name: Configure servers
|
|
|
|
hosts: linux:!workstation
|
2021-11-06 01:53:03 +00:00
|
|
|
gather_facts: false
|
|
|
|
roles:
|
2021-12-12 03:41:11 +00:00
|
|
|
- role: skylab.core.server
|
2021-11-16 01:54:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: Configure cluster
|
|
|
|
hosts: linux:&cluster
|
|
|
|
gather_facts: false
|
|
|
|
roles:
|
2021-12-12 03:41:11 +00:00
|
|
|
- role: skylab.core.datastore
|
|
|
|
- role: skylab.core.swarm
|
2021-11-17 04:20:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: Configure dashboard nodes
|
|
|
|
hosts: iridium
|
|
|
|
gather_facts: false
|
|
|
|
roles:
|
2021-12-12 03:41:11 +00:00
|
|
|
- role: skylab.core.dashboard
|
2021-11-17 04:20:58 +00:00
|
|
|
dashboard_hostname: "{{ skylab_dashboard }}"
|
2022-05-17 01:57:12 +00:00
|
|
|
|
|
|
|
|
|
|
|
- name: Configure workstations
|
|
|
|
hosts: workstation
|
|
|
|
gather_facts: false
|
|
|
|
roles:
|
|
|
|
- role: skylab.core.workstation
|