mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-25 11:35:03 +01:00
removed bugs
This commit is contained in:
parent
9e140daf44
commit
76dfffe0b1
@ -3,18 +3,11 @@
|
||||
copy:
|
||||
src: system-maintenance-lock.py
|
||||
dest: "{{path_system_lock_script}}"
|
||||
when: run_once_system-maintenance_lock is not defined
|
||||
|
||||
- name: Configure system-maintenance-service for each action
|
||||
template:
|
||||
src: system-maintenance-lock.service.j2
|
||||
dest: "/etc/systemd/system/system-maintenance-lock.service"
|
||||
notify: "reload system-maintenance-lock.service"
|
||||
when: run_once_system-maintenance_lock is not defined
|
||||
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
|
||||
run_once_system_maintenance_lock: true
|
||||
when: run_once_system_maintenance_lock is not defined
|
||||
|
@ -239,5 +239,3 @@
|
||||
become: true
|
||||
roles:
|
||||
- role: nginx-www-redirect
|
||||
|
||||
- import_playbook: destructor.yml
|
||||
|
Loading…
Reference in New Issue
Block a user