--- - import_tasks: checks.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - import_tasks: install.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - import_tasks: configure.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - import_tasks: firewall.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - network.nftables.enable is true - import_tasks: start.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - import_tasks: nginx.yml when: - services.syncthing.enable is defined - services.syncthing.enable is true - services.syncthing.nginx.enable is defined - services.syncthing.nginx.enable is true - import_tasks: remove.yml when: - services.syncthing.enable is defined - services.syncthing.enable is false - meta: flush_handlers