---
- 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
tasks:
- include_tasks: tasks/meta/bootstrap-remote-env.yaml
# [lemony snicket voice] "server" here being a word used to mean "not a workstation"
- name: Configure servers
hosts: linux:!workstation
roles:
- role: server
- name: Configure cluster
hosts: linux:&cluster
- role: datastore
- role: swarm
- name: Configure dashboard nodes
hosts: iridium
- role: dashboard
dashboard_hostname: "{{ skylab_dashboard }}"