mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-05 18:01:40 +02:00
Normalized run_once_, made openresty handlers without when aviable and forced flush in run_once when blocks to avoid handlers with when conditions
This commit is contained in:
@@ -2,9 +2,4 @@
|
||||
systemd:
|
||||
name: sys-alm-compose.infinito.service
|
||||
daemon_reload: yes
|
||||
when: run_once_systemd_notifier_service is not defined
|
||||
|
||||
- name: run the systemd_notifier_service tasks once
|
||||
set_fact:
|
||||
run_once_systemd_notifier_service: true
|
||||
when: run_once_systemd_notifier_service is not defined
|
||||
when: run_once_sys_alm_compose is not defined
|
||||
|
@@ -4,9 +4,9 @@
|
||||
src: sys-alm-compose@.service.j2
|
||||
dest: "/etc/systemd/system/sys-alm-compose.infinito@.service"
|
||||
notify: "restart sys-alm-compose service"
|
||||
when: run_once_systemd_notifier_service is not defined
|
||||
when: run_once_sys_alm_compose is not defined
|
||||
|
||||
- name: run the systemd_notifier_service tasks once
|
||||
set_fact:
|
||||
run_once_systemd_notifier_service: true
|
||||
when: run_once_systemd_notifier_service is not defined
|
||||
run_once_sys_alm_compose: true
|
||||
when: run_once_sys_alm_compose is not defined
|
Reference in New Issue
Block a user