mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
10 lines
376 B
YAML
10 lines
376 B
YAML
- name: "refresh systemctl service"
|
|
systemd:
|
|
name: "{{ system_service_id | get_service_name(SOFTWARE_NAME) }}"
|
|
daemon_reload: yes
|
|
enabled: yes
|
|
state: "{{ system_service_state }}"
|
|
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
|
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
|
when: not (system_service_suppress_flush | bool)
|