Files
dotfiles/config/ansible/main.yml
Menno van Leeuwen 840e07d747
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
feat: add dotfiles-test configuration to Ansible inventory and tasks
2025-03-11 12:03:59 +01:00

16 lines
520 B
YAML

- name: Configure all hosts
hosts: all
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']