Files
dotfiles/config/ansible/playbook.yml
Menno van Leeuwen 63a63e7dae
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
feat: add dotfiles-test host configuration and update related tasks
2025-03-12 10:08:59 +01:00

19 lines
619 B
YAML

- name: Configure all hosts
hosts: all
handlers:
- name: Import handler tasks
ansible.builtin.import_tasks: handlers/main.yml
gather_facts: true
tasks:
- name: Include global tasks
ansible.builtin.import_tasks: tasks/global/global.yml
- name: Include workstation tasks
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
when: hostname in ['mennos-laptop', 'mennos-desktop']
- name: Include server tasks
ansible.builtin.import_tasks: tasks/servers/server.yml
when: hostname in ['mennos-server', 'mennos-hobbypc', 'mennos-vm', 'dotfiles-test']