aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/packages
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-01-11 22:28:16 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-11 22:28:16 +0100
commitfc8180a9fd4b4d3ab81b6e2501acfe690de6f950 (patch)
treea12fc8483307a27d892f77f1282d13d1341761af /ansible/roles/packages
parent99ce768a7d6fe9e828caf932554c4e095c1d00b2 (diff)
downloadinfra-fc8180a9fd4b4d3ab81b6e2501acfe690de6f950.tar.gz
infra-fc8180a9fd4b4d3ab81b6e2501acfe690de6f950.tar.bz2
infra-fc8180a9fd4b4d3ab81b6e2501acfe690de6f950.tar.xz
infra-fc8180a9fd4b4d3ab81b6e2501acfe690de6f950.zip
packages: Better set structure.
Diffstat (limited to 'ansible/roles/packages')
-rw-r--r--ansible/roles/packages/tasks/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/ansible/roles/packages/tasks/main.yml b/ansible/roles/packages/tasks/main.yml
index 551c4eb..711aa9a 100644
--- a/ansible/roles/packages/tasks/main.yml
+++ b/ansible/roles/packages/tasks/main.yml
@@ -2,7 +2,6 @@
- name: configure debian repositories
tags: packages
notify: update apt cache
- become: yes
copy:
dest: /etc/apt/sources.list
content: "{{ versions[packages__version] }}"
@@ -41,7 +40,6 @@
- name: Enable backports repository by default
when: packages__enable_backports
- become: yes
copy:
dest: /etc/apt/preferences.d/bitraf-packages
content: |
@@ -51,9 +49,9 @@
- meta: flush_handlers
+- debug: var=packages_packages
+
- name: install debian packages
- tags: packages
- become: yes
apt:
name: "{{ packages_packages }}"
install_recommends: no