mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +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_docker_volumes: true
|
||||
when: run_once_sys_hlth_docker_volumes is not defined
|
||||
- name: "create {{health_docker_volumes_folder}}"
|
||||
file:
|
||||
path: "{{health_docker_volumes_folder}}"
|
||||
@@ -11,7 +19,7 @@
|
||||
|
||||
- name: create sys-hlth-docker-volumes.infinito.service
|
||||
template:
|
||||
src: sys-hlth-docker-volumes.service.j2
|
||||
src: sys-hlth-docker-volumes.service.j2
|
||||
dest: /etc/systemd/system/sys-hlth-docker-volumes.infinito.service
|
||||
notify: reload sys-hlth-docker-volumes.infinito.service
|
||||
|
||||
@@ -23,4 +31,4 @@
|
||||
include_role:
|
||||
name: sys-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_health_docker_volumes}}"
|
||||
on_calendar: "{{on_calendar_health_docker_volumes}}"
|
||||
|
Reference in New Issue
Block a user