mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-24 21:51:03 +01:00
removed bugs
This commit is contained in:
parent
9c21d052c4
commit
2be16a16f6
@ -3,18 +3,11 @@
|
|||||||
copy:
|
copy:
|
||||||
src: system-maintenance-lock.py
|
src: system-maintenance-lock.py
|
||||||
dest: "{{path_system_lock_script}}"
|
dest: "{{path_system_lock_script}}"
|
||||||
when: run_once_system-maintenance_lock is not defined
|
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
|
|
||||||
|
|
||||||
## Runtime Variable Setting
|
## Runtime Variable Setting
|
||||||
|
|
||||||
- name: run the system_maintenance_service_freezer tasks once
|
- name: run the system_maintenance_service_freezer tasks once
|
||||||
set_fact:
|
set_fact:
|
||||||
run_once_system-maintenance_lock: true
|
run_once_system_maintenance_lock: true
|
||||||
when: run_once_system-maintenance_lock is not defined
|
when: run_once_system_maintenance_lock is not defined
|
||||||
|
@ -239,5 +239,3 @@
|
|||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: nginx-www-redirect
|
- role: nginx-www-redirect
|
||||||
|
|
||||||
- import_playbook: destructor.yml
|
|
||||||
|
Loading…
Reference in New Issue
Block a user