mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 18:31:36 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
13
roles/maintenance-lock/tasks/main.yml
Normal file
13
roles/maintenance-lock/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: create {{path_system_lock_script}}
|
||||
copy:
|
||||
src: maintenance-lock.py
|
||||
dest: "{{path_system_lock_script}}"
|
||||
when: run_once_system_maintenance_lock is not defined
|
||||
|
||||
## Runtime Variable Setting
|
||||
|
||||
- name: run the system_maintenance_service_freezer tasks once
|
||||
set_fact:
|
||||
run_once_system_maintenance_lock: true
|
||||
when: run_once_system_maintenance_lock is not defined
|
Reference in New Issue
Block a user