summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/files/apt-80recommends1
-rw-r--r--common/tasks/apt.yaml7
-rw-r--r--common/tasks/main.yaml1
3 files changed, 9 insertions, 0 deletions
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