41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
---
|
|
- name: Arch Linux provisioning
|
|
gather_facts: true
|
|
hosts: all
|
|
roles:
|
|
- common
|
|
tasks:
|
|
- name: Generic provisioning
|
|
ansible.builtin.import_tasks: "tasks/setup.yml"
|
|
tags: setup
|
|
|
|
# TODO: provision ssh client config with modern cyphers
|
|
- name: Network provisioning
|
|
ansible.builtin.import_tasks: "tasks/network/main.yml"
|
|
tags: network
|
|
|
|
- name: Network host specific provisioning
|
|
ansible.builtin.import_tasks: "tasks/network/{{ ansible_hostname }}.yml"
|
|
tags: network-specific
|
|
|
|
- name: Systemd provisioning
|
|
ansible.builtin.import_tasks: "tasks/systemd.yml"
|
|
tags: systemd
|
|
|
|
- name: Systemd timer provisioning
|
|
ansible.builtin.import_tasks: "tasks/timer.yml"
|
|
tags: timers
|
|
|
|
# Note: Disable DoH in Firefox to fallback to system's default DNS
|
|
# resolver, see
|
|
# https://support.mozilla.org/en-US/kb/dns-over-https#w_configure-doh-protection-settings
|
|
- name: MPV provisioning
|
|
ansible.builtin.import_tasks: "tasks/mpv.yml"
|
|
tags: mpv
|
|
|
|
handlers:
|
|
- name: Import default handlers
|
|
ansible.builtin.import_tasks: "handlers.yml"
|
|
|
|
- name: Import common role handlers
|
|
ansible.builtin.import_tasks: "roles/common/handlers/user.yml"
|