deploy_gitea_runner/handlers/main.yml

21 lines
519 B
YAML

---
# handlers file for deploy_adguard
- name: "Reload systemd file"
ansible.builtin.systemd:
daemon_reload: true
listen: "systemctl-daemon-reload"
- name: "Enable gitea-runnner service"
ansible.builtin.service:
name: gitea-runnner
enabled: true
listen: "systemctl-enable-gitea-runnner"
- name: "Start gitea-runnner service"
ansible.builtin.service:
name: gitea-runnner
state: restarted
listen: "systemctl-restart-gitea-runnner"
throttle: 1
when: deploy_gitea_runner_start_service