roles/devbox/tasks/dist-debian.yml

changeset 18
934f20587c6d
parent 17
d0d9fdf1f9d3
child 19
cdba9c64cdec
equal deleted inserted replaced
17:d0d9fdf1f9d3 18:934f20587c6d
1 --- 1 ---
2
3 - name: add python-apt
4 apt: name=python-apt state=installed
5
6 # Not used here, but nice to have ready
7 - name: add backports repo
8 apt_repository:
9 repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main"
10 tags: repos
11
12 - name: add pgdg repo
13 when: ansible_architecture == 'amd64'
14 apt_repository:
15 repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
16 tags: repos
17
18 - name: apt upgrade
19 apt: upgrade=yes update_cache=yes cache_valid_time=3600
20 tags: packages, upgrade
21 2
22 - name: Install base packages 3 - name: Install base packages
23 apt: name={{item}} state=installed default_release={{ansible_distribution_release}}-backports 4 apt: name={{item}} state=installed default_release={{ansible_distribution_release}}-backports
24 with_items: 5 with_items:
25 - build-essential 6 - build-essential

mercurial