removed bugs

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-16 21:35:46 +01:00
parent 9c21d052c4
commit 2be16a16f6
3 changed files with 3 additions and 12 deletions

View File

View File

@ -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

View File

@ -239,5 +239,3 @@
become: true become: true
roles: roles:
- role: nginx-www-redirect - role: nginx-www-redirect
- import_playbook: destructor.yml