--- - name: Create syncthing directory file: path: "{{ item }}" owner: "{{ puid }}" group: "{{ pgid }}" mode: '755' state: directory loop: - "{{ syncthing_data }}" become: true - name: Resolve inotify error for syncthing template: src: "templates/aya01/syncthing/syncthing.conf" dest: "/etc/sysctl.d/syncthing.conf" mode: "660" become: true