Files
a13labs.infra/ansible/roles/linux_dev_station/handlers/main.yml
T

25 lines
577 B
YAML
Raw Normal View History

---
- name: Reload and restart code-server
become: true
ansible.builtin.systemd:
name: code-server
state: restarted
daemon_reload: true
when:
- linux_dev_station_manage_systemd | bool
- linux_dev_station_code_server_systemd_enabled | bool
listen: Restart code-server
- name: Reload and restart opencode
become: true
ansible.builtin.systemd:
name: opencode
state: restarted
daemon_reload: true
when:
- linux_dev_station_manage_systemd | bool
- linux_dev_station_opencode_systemd_enabled | bool
listen: Restart opencode