From a5d1babc0b863cb4ea87d7f3f70a3c9e39533b57 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 4 Apr 2018 20:21:09 +0200 Subject: [PATCH] Add a new local repository, with some Trusty backports. --- ubuntu-deb-general/tasks/packages.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ubuntu-deb-general/tasks/packages.yml b/ubuntu-deb-general/tasks/packages.yml index a0b129da..ef143735 100644 --- a/ubuntu-deb-general/tasks/packages.yml +++ b/ubuntu-deb-general/tasks/packages.yml @@ -79,6 +79,14 @@ ignore_errors: True tags: packages +- name: Setup the infrascience trusty repository + apt_repository: repo='deb [arch=amd64] http://ppa.research-infrastructures.eu/trusty-infrascience {{ ansible_distribution_release }} main' update_cache=yes + when: + - is_trusty + - infrascience_internal_ppa + ignore_errors: True + tags: packages + - name: install common packages apt: pkg={{ item }} state={{ pkg_state }} with_items: '{{ common_packages }}'