diff --git a/roles/privacy/defaults/main.yml b/roles/privacy/defaults/main.yml index 928675c7..b96119c4 100644 --- a/roles/privacy/defaults/main.yml +++ b/roles/privacy/defaults/main.yml @@ -54,4 +54,4 @@ privacy_advanced: # Reduce kernel log verbosity reduce_kernel_verbosity: true # Clear logs on shutdown (use with caution) - clear_logs_on_shutdown: false \ No newline at end of file + clear_logs_on_shutdown: false diff --git a/roles/privacy/handlers/main.yml b/roles/privacy/handlers/main.yml index 7a789b00..6de5993d 100644 --- a/roles/privacy/handlers/main.yml +++ b/roles/privacy/handlers/main.yml @@ -26,4 +26,4 @@ name: privacy-shutdown-cleanup.service enabled: yes daemon_reload: yes - become: yes \ No newline at end of file + become: yes diff --git a/roles/privacy/tasks/advanced_privacy.yml b/roles/privacy/tasks/advanced_privacy.yml index 5d6c90ad..65b442ad 100644 --- a/roles/privacy/tasks/advanced_privacy.yml +++ b/roles/privacy/tasks/advanced_privacy.yml @@ -80,4 +80,4 @@ - " - VPN log filtering: {{ privacy_log_filtering.exclude_vpn_logs | bool }}" - " - History clearing: {{ privacy_history_clearing.clear_bash_history | bool }}" - " - Auto cleanup: {{ privacy_auto_cleanup.enabled | bool }}" - - " - Kernel verbosity reduction: {{ privacy_advanced.reduce_kernel_verbosity | bool }}" \ No newline at end of file + - " - Kernel verbosity reduction: {{ privacy_advanced.reduce_kernel_verbosity | bool }}" diff --git a/roles/privacy/tasks/auto_cleanup.yml b/roles/privacy/tasks/auto_cleanup.yml index 65d37668..7fa1436a 100644 --- a/roles/privacy/tasks/auto_cleanup.yml +++ b/roles/privacy/tasks/auto_cleanup.yml @@ -49,7 +49,7 @@ owner: root group: root when: privacy_advanced.clear_logs_on_shutdown | bool - notify: + notify: - reload systemd - enable privacy shutdown cleanup @@ -65,6 +65,6 @@ apt-get clean apt-get autoclean changed_when: false - when: + when: - privacy_auto_cleanup.enabled | bool - - privacy_auto_cleanup.clean_package_cache | bool \ No newline at end of file + - privacy_auto_cleanup.clean_package_cache | bool diff --git a/roles/privacy/tasks/clear_history.yml b/roles/privacy/tasks/clear_history.yml index 6a343393..35cc9211 100644 --- a/roles/privacy/tasks/clear_history.yml +++ b/roles/privacy/tasks/clear_history.yml @@ -58,4 +58,4 @@ - name: Clear current session history shell: history -c changed_when: false - when: privacy_history_clearing.clear_bash_history | bool \ No newline at end of file + when: privacy_history_clearing.clear_bash_history | bool diff --git a/roles/privacy/tasks/log_filtering.yml b/roles/privacy/tasks/log_filtering.yml index a0ef2b47..8a3f7356 100644 --- a/roles/privacy/tasks/log_filtering.yml +++ b/roles/privacy/tasks/log_filtering.yml @@ -58,4 +58,4 @@ - name: Display rsyslog test results debug: msg: "Rsyslog configuration test passed" - when: rsyslog_test.rc == 0 \ No newline at end of file + when: rsyslog_test.rc == 0 diff --git a/roles/privacy/tasks/log_rotation.yml b/roles/privacy/tasks/log_rotation.yml index b43fce72..bf39de03 100644 --- a/roles/privacy/tasks/log_rotation.yml +++ b/roles/privacy/tasks/log_rotation.yml @@ -48,4 +48,4 @@ - name: Force immediate log rotation to apply new settings command: /usr/sbin/logrotate -f /etc/logrotate.conf - changed_when: false \ No newline at end of file + changed_when: false diff --git a/roles/privacy/tasks/main.yml b/roles/privacy/tasks/main.yml index 7927fa15..aad22ac8 100644 --- a/roles/privacy/tasks/main.yml +++ b/roles/privacy/tasks/main.yml @@ -33,4 +33,4 @@ debug: msg: "Privacy enhancements have been successfully applied" - when: privacy_enhancements_enabled | bool \ No newline at end of file + when: privacy_enhancements_enabled | bool