mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Improved performance by executing tasks just once per host
This commit is contained in:
@@ -4,3 +4,9 @@
|
||||
src: systemd-notifier@.service.j2
|
||||
dest: "/etc/systemd/system/systemd-notifier@.service"
|
||||
notify: "restart systemd-notifier service"
|
||||
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
|
Reference in New Issue
Block a user