roles/repositories/tasks/debian.yml

changeset 87
13c6ba506f26
parent 86
939e12400bd5
child 88
3dbfd253c775
equal deleted inserted replaced
86:939e12400bd5 87:13c6ba506f26
1 ---
2
3 - name: add ansible/apt dependencies
4 apt: name={{item}} state=installed
5 with_items:
6 - apt-transport-https
7 - aptitude
8 - python-apt
9
10 - include: debian-stable.yml
11 when: ansible_distribution_release != 'NA'
12 tags: repos
13
14 - include: debian-testing.yml
15 when: ansible_distribution_release == 'NA'
16 tags: repos
17
18 - name: apt upgrade
19 apt: upgrade=yes update_cache=yes cache_valid_time=3600
20 tags: packages, upgrade

mercurial