From 82a589576a934e0d40f532cbf170a705142fb73a Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sat, 26 Jan 2019 12:42:04 +0100 Subject: common: Deactive installation of recommended dependencies --- common/files/apt-80recommends | 1 + common/tasks/apt.yaml | 7 +++++++ common/tasks/main.yaml | 1 + 3 files changed, 9 insertions(+) create mode 100644 common/files/apt-80recommends create mode 100644 common/tasks/apt.yaml (limited to 'common') diff --git a/common/files/apt-80recommends b/common/files/apt-80recommends new file mode 100644 index 0000000..96d6728 --- /dev/null +++ b/common/files/apt-80recommends @@ -0,0 +1 @@ +APT::Install-Recommends "false"; diff --git a/common/tasks/apt.yaml b/common/tasks/apt.yaml new file mode 100644 index 0000000..9b3bdae --- /dev/null +++ b/common/tasks/apt.yaml @@ -0,0 +1,7 @@ +- name: Copy apt configuration + copy: + src: apt-80recommends + dest: /etc/apt/apt.conf.d/80recommends + owner: root + group: root + mode: u=rw,g=r,o=r diff --git a/common/tasks/main.yaml b/common/tasks/main.yaml index 819cbe6..7c56e23 100644 --- a/common/tasks/main.yaml +++ b/common/tasks/main.yaml @@ -1,5 +1,6 @@ --- - include: packages.yaml +- include: apt.yaml - include: sh.yaml - include: ssh.yaml - include: sudo.yaml -- cgit v1.2.3