Files
infra/ansible/site.yml
2026-03-31 17:04:55 +02:00

41 lines
820 B
YAML

---
- hosts: all
become: true
pre_tasks:
- name: Load local vault variables when available
tags: [always]
ansible.builtin.include_vars:
file: "{{ playbook_dir }}/../secrets/vault.yml"
when: lookup('ansible.builtin.fileglob', playbook_dir + '/../secrets/vault.yml', errors='ignore') != ''
roles:
- dotfiles_common
- hosts: void
become: true
roles:
- packages_void
- services_runit
- profile_desktop_common
- profile_desktop_i3
- profile_desktop_sway
- profile_desktop_hyprland
- profile_desktop_host
- hosts: ubuntu_workstation
become: true
roles:
- packages_ubuntu
- services_systemd
- profile_workstation_gnome
- hosts: ubuntu_server
become: true
roles:
- packages_ubuntu
- services_systemd
- profile_server