mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-03 10:33:13 +02:00
Fix YAML linting issues in privacy role
This commit is contained in:
parent
d3333fcaa7
commit
540b250ee1
8 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
clear_logs_on_shutdown: false
|
||||
|
|
|
@ -26,4 +26,4 @@
|
|||
name: privacy-shutdown-cleanup.service
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
become: yes
|
||||
become: yes
|
||||
|
|
|
@ -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 }}"
|
||||
- " - Kernel verbosity reduction: {{ privacy_advanced.reduce_kernel_verbosity | bool }}"
|
||||
|
|
|
@ -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
|
||||
- privacy_auto_cleanup.clean_package_cache | bool
|
||||
|
|
|
@ -58,4 +58,4 @@
|
|||
- name: Clear current session history
|
||||
shell: history -c
|
||||
changed_when: false
|
||||
when: privacy_history_clearing.clear_bash_history | bool
|
||||
when: privacy_history_clearing.clear_bash_history | bool
|
||||
|
|
|
@ -58,4 +58,4 @@
|
|||
- name: Display rsyslog test results
|
||||
debug:
|
||||
msg: "Rsyslog configuration test passed"
|
||||
when: rsyslog_test.rc == 0
|
||||
when: rsyslog_test.rc == 0
|
||||
|
|
|
@ -48,4 +48,4 @@
|
|||
|
||||
- name: Force immediate log rotation to apply new settings
|
||||
command: /usr/sbin/logrotate -f /etc/logrotate.conf
|
||||
changed_when: false
|
||||
changed_when: false
|
||||
|
|
|
@ -33,4 +33,4 @@
|
|||
debug:
|
||||
msg: "Privacy enhancements have been successfully applied"
|
||||
|
||||
when: privacy_enhancements_enabled | bool
|
||||
when: privacy_enhancements_enabled | bool
|
||||
|
|
Loading…
Add table
Reference in a new issue