diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-05-14 23:35:47 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:53:40 +0200 |
commit | 31fbba5a601fd60a05f44175a4de1f4c9950bd8d (patch) | |
tree | e8acd70878b4df8ad033888d92142daf55c8436e /roles/common | |
parent | 46afd44e60fc043e2d1f0bd066dcfb94fe1b11f2 (diff) |
Upgrade the common package list.
Diffstat (limited to 'roles/common')
-rw-r--r-- | roles/common/tasks/apt.yml | 3 | ||||
-rw-r--r-- | roles/common/tasks/main.yml | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/roles/common/tasks/apt.yml b/roles/common/tasks/apt.yml index 57a4d10..f444315 100644 --- a/roles/common/tasks/apt.yml +++ b/roles/common/tasks/apt.yml @@ -1,35 +1,34 @@ - name: Install various APT tools apt: pkg={{ item }} with_items: - apt - - apt-listbugs - apt-listchanges - apt-show-versions - debian-archive-keyring - debian-goodies + - needrestart - unattended-upgrades - debfoster - deborphan - debsecan - debsums - - update-notifier-common - name: Configure APT (1) template: src=etc/apt/{{ item }}.j2 dest=/etc/apt/{{ item }} owner=root group=root mode=0644 with_items: - sources.list - preferences notify: - apt-get update - name: Configure APT (2) copy: src=etc/apt/{{ item }} dest=/etc/apt/{{ item }} owner=root group=root mode=0644 with_items: - listchanges.conf - apt.conf.d/10periodic diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index caecf9a..c17ecc2 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -15,27 +15,25 @@ - include: smart.yml tags=smartmontools,smart when: "not (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'xen')" - include: haveged.yml tags=haveged,entropy - name: Copy genkeypair.sh copy: src=usr/local/bin/genkeypair.sh dest=/usr/local/bin/genkeypair.sh owner=root group=root mode=0755 tags: genkey - include: logging.yml tags=logging - include: ntp.yml tags=ntp - include: mail.yml tags=mail,postfix - name: Install common packages apt: pkg={{ item }} with_items: - ca-certificates - etckeeper - ethtool - git - - harden-clients - - harden-servers - htop - molly-guard - rsync - screen - telnet-ssl |