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

14 lines
390 B
YAML

---
- name: create {{path_system_lock_script}}
copy:
src: system-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