mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 07:33:52 +02:00
unattended-upgrades moved to the security role
This commit is contained in:
parent
4284dd63aa
commit
05df4f0c04
4 changed files with 11 additions and 7 deletions
|
@ -46,16 +46,9 @@
|
||||||
- coreutils
|
- coreutils
|
||||||
- rsyslog
|
- rsyslog
|
||||||
- sendmail
|
- sendmail
|
||||||
- unattended-upgrades
|
|
||||||
- iptables-persistent
|
- iptables-persistent
|
||||||
- cgroup-tools
|
- cgroup-tools
|
||||||
|
|
||||||
- name: Configure unattended-upgrades
|
|
||||||
template: src=50unattended-upgrades.j2 dest=/etc/apt/apt.conf.d/50unattended-upgrades owner=root group=root mode=0644
|
|
||||||
|
|
||||||
- name: Periodic upgrades configured
|
|
||||||
template: src=10periodic.j2 dest=/etc/apt/apt.conf.d/10periodic owner=root group=root mode=0644
|
|
||||||
|
|
||||||
- name: Loopback for services configured
|
- name: Loopback for services configured
|
||||||
template: src=10-loopback-services.cfg.j2 dest=/etc/network/interfaces.d/10-loopback-services.cfg
|
template: src=10-loopback-services.cfg.j2 dest=/etc/network/interfaces.d/10-loopback-services.cfg
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
- name: Install tools
|
||||||
|
apt: name="{{ item }}" state=latest
|
||||||
|
with_items:
|
||||||
|
- unattended-upgrades
|
||||||
|
|
||||||
|
- name: Configure unattended-upgrades
|
||||||
|
template: src=50unattended-upgrades.j2 dest=/etc/apt/apt.conf.d/50unattended-upgrades owner=root group=root mode=0644
|
||||||
|
|
||||||
|
- name: Periodic upgrades configured
|
||||||
|
template: src=10periodic.j2 dest=/etc/apt/apt.conf.d/10periodic owner=root group=root mode=0644
|
||||||
|
|
||||||
# Using a two-pass approach for checking directories in order to support symlinks.
|
# Using a two-pass approach for checking directories in order to support symlinks.
|
||||||
- name: Find directories for minimizing access
|
- name: Find directories for minimizing access
|
||||||
stat:
|
stat:
|
||||||
|
|
Loading…
Add table
Reference in a new issue