Ran ansible-lint

This commit is contained in:
Sonny Bakker 2025-12-18 15:00:37 +01:00
parent 92f761f4bb
commit 43d470edf3
33 changed files with 343 additions and 317 deletions

View file

@ -1,8 +1,9 @@
---
- name: Create configuration dir
ansible.builtin.file:
path: '{{ xdg_config_dir }}/syncthing'
path: "{{ xdg_config_dir }}/syncthing"
state: directory
mode: '0755'
mode: "0755"
- name: Stop syncthing service
ansible.builtin.systemd:
@ -12,7 +13,7 @@
- name: Copy configuration file
ansible.builtin.template:
src: 'templates/syncthing/config.j2'
dest: '{{ xdg_config_dir }}/syncthing/config.xml'
mode: '0640'
src: "templates/syncthing/config.j2"
dest: "{{ xdg_config_dir }}/syncthing/config.xml"
mode: "0640"
notify: start syncthing