mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-22 18:35:03 +01:00
Optimized runtime parameter
This commit is contained in:
parent
1c31f82f7c
commit
ee1b2e0140
@ -5,7 +5,7 @@
|
||||
become: true
|
||||
roles:
|
||||
- role: update
|
||||
when: execute_updates | bool
|
||||
when: mode_update | bool
|
||||
|
||||
- name: setup standard wireguard
|
||||
hosts: wireguard_server
|
||||
|
@ -10,6 +10,8 @@ backups_folder_path: "/Backups/" # Path to the backups folder
|
||||
mode_reset: false # Cleans up all CyMaIS files. It's necessary to run to whole playbook and not particial roles when using this function.
|
||||
mode_verbose: false # Prints well formated debug information
|
||||
mode_test: false # Executes test routines instead of productive routines
|
||||
mode_update: true # Executes updates
|
||||
mode_backup: true # Activates the backup before the update procedure
|
||||
|
||||
# Server Tact Variables
|
||||
|
||||
@ -60,9 +62,6 @@ path_system_lock_script: "{{path_administrator_scripts}}system-maintenanc
|
||||
# Runtime Variables for Process Control
|
||||
activate_all_timers: false # Activates all timers, independend if the handlers had been triggered
|
||||
nginx_matomo_tracking: false # Activates matomo tracking on all html pages
|
||||
execute_updates: true # Executes updates
|
||||
force_backup_before_update: true # Activates the backup before the update procedure
|
||||
|
||||
|
||||
# System maintenance Services
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
systemd:
|
||||
name: backup-docker-to-local-everything.service
|
||||
state: started
|
||||
when: force_backup_before_update | bool
|
||||
when: mode_backup | bool
|
||||
|
||||
- name: create {{update_docker_script}}
|
||||
copy:
|
||||
|
Loading…
Reference in New Issue
Block a user