Compare commits

...

2 Commits

3 changed files with 8 additions and 3 deletions

View File

@ -42,9 +42,9 @@
- name: create /var/log/syslog - name: create /var/log/syslog
file: file:
path: /var/log/syslog path: /var/log/syslog
owner: syslog owner: "{{ rsyslog_dir_owner }}"
group: adm group: "{{ rsyslog_dir_group }}"
mode: 0750 mode: "{{ rsyslog_dir_create_mode }}"
state: directory state: directory
- name: configure archival format - name: configure archival format

View File

@ -77,6 +77,8 @@ unattended_upgrades_mail: "{{ unattended_upgrades_mailto }}"
# Default: "now" # Default: "now"
# unattended_upgrades_automatic_reboot_time: '02:00' # unattended_upgrades_automatic_reboot_time: '02:00'
# unattended_upgrades_reboot_with_users: false
# Use apt bandwidth limit feature, this example limits the download # Use apt bandwidth limit feature, this example limits the download
# speed to 70kb/sec # speed to 70kb/sec
# unattended_upgrades_download_limit: 70 # unattended_upgrades_download_limit: 70

View File

@ -44,6 +44,9 @@ Unattended-Upgrade::Automatic-Reboot "{{ unattended_upgrades_automatic_reboot |
{% if unattended_upgrades_automatic_reboot_time is defined %} {% if unattended_upgrades_automatic_reboot_time is defined %}
Unattended-Upgrade::Automatic-Reboot-Time "{{ unattended_upgrades_automatic_reboot_time }}"; Unattended-Upgrade::Automatic-Reboot-Time "{{ unattended_upgrades_automatic_reboot_time }}";
{% endif %} {% endif %}
{% if unattended_upgrades_reboot_with_users is defined %}
Unattended-Upgrade::Automatic-Reboot-WithUsers "{{ unattended_upgrades_reboot_with_users | lower }}";
{% endif %}
{% if unattended_upgrades_download_limit is defined %} {% if unattended_upgrades_download_limit is defined %}
Acquire::http::Dl-Limit "{{ unattended_upgrades_download_limit }}"; Acquire::http::Dl-Limit "{{ unattended_upgrades_download_limit }}";
{% endif %} {% endif %}