Layout refactor

Also included provisioning for htpc host
This commit is contained in:
Sonny Bakker 2025-10-12 15:33:37 +02:00
parent f90702c7b8
commit 970f7489fb
103 changed files with 782 additions and 893 deletions

18
tasks/syncthing.yml Normal file
View file

@ -0,0 +1,18 @@
- name: Create configuration dir
ansible.builtin.file:
path: '{{ xdg_config_dir }}/syncthing'
state: directory
mode: '0755'
- name: Stop syncthing service
ansible.builtin.systemd:
name: syncthing
scope: user
state: stopped
- name: Copy configuration file
ansible.builtin.template:
src: 'templates/syncthing/config.j2'
dest: '{{ xdg_config_dir }}/syncthing/config.xml'
mode: '0640'
notify: start syncthing