Layout refactor
Also included provisioning for htpc host
This commit is contained in:
parent
f90702c7b8
commit
970f7489fb
103 changed files with 782 additions and 893 deletions
40
default.yml
Normal file
40
default.yml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
- 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue