--- - name: Setup website hosts: raspberry gather_facts: false tasks: - name: Install packages become: true tags: - slow apt: pkg: - syncthing - name: Start service become: true systemd: name: syncthing@eug-vs state: started # Make sure to set GUI user & password imediately! - name: Expose web interface shell: sed -i 's/127.0.0.1:8384/0.0.0.0:8384/' ~/.config/syncthing/config.xml - name: Restart and enable service become: true systemd: name: syncthing@eug-vs enabled: yes state: restarted