computer-playbook/roles/system-maintenance-lock/tasks/main.yml

14 lines
390 B
YAML
Raw Normal View History

---
- name: create {{path_system_lock_script}}
copy:
src: system-maintenance-lock.py
dest: "{{path_system_lock_script}}"
2023-12-16 21:35:46 +01:00
when: run_once_system_maintenance_lock is not defined
## Runtime Variable Setting
- name: run the system_maintenance_service_freezer tasks once
set_fact:
2023-12-16 21:35:46 +01:00
run_once_system_maintenance_lock: true
when: run_once_system_maintenance_lock is not defined