diff --git a/constructor.yml b/constructor.yml index d0715d3e..be2e1259 100644 --- a/constructor.yml +++ b/constructor.yml @@ -5,7 +5,7 @@ become: true roles: - role: update - when: execute_updates | bool + when: mode_update | bool - name: setup standard wireguard hosts: wireguard_server diff --git a/group_vars/all b/group_vars/all index 3690559a..e67437dc 100644 --- a/group_vars/all +++ b/group_vars/all @@ -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 diff --git a/roles/update-docker/tasks/main.yml b/roles/update-docker/tasks/main.yml index c0576bf5..932a7aa1 100644 --- a/roles/update-docker/tasks/main.yml +++ b/roles/update-docker/tasks/main.yml @@ -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: