mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized tests für run once
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'sys-alm-compose'
|
||||
include_role:
|
||||
name: sys-alm-compose
|
||||
- set_fact:
|
||||
run_once_sys_hlth_disc_space: true
|
||||
when: run_once_sys_hlth_disc_space is not defined
|
||||
- name: "create {{health_disc_space_folder}}"
|
||||
file:
|
||||
path: "{{health_disc_space_folder}}"
|
||||
@@ -10,7 +18,7 @@
|
||||
dest: "{{health_disc_space_folder}}sys-hlth-disc-space.sh"
|
||||
|
||||
- name: create sys-hlth-disc-space.infinito.service
|
||||
template:
|
||||
template:
|
||||
src: sys-hlth-disc-space.service.j2
|
||||
dest: /etc/systemd/system/sys-hlth-disc-space.infinito.service
|
||||
notify: reload sys-hlth-disc-space.infinito.service
|
||||
@@ -23,4 +31,4 @@
|
||||
include_role:
|
||||
name: sys-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_disc_space}}"
|
||||
on_calendar: "{{on_calendar_health_disc_space}}"
|
||||
|
Reference in New Issue
Block a user