roles/repositories/tasks/debian.yml

Sat, 22 Jun 2019 04:26:10 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 22 Jun 2019 04:26:10 -0400
changeset 86
939e12400bd5
parent 84
fdaa84bcac9c
permissions
-rw-r--r--

merge

17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 ---
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
55
Meredith Howard <mhoward@roomag.org>
parents: 48
diff changeset
3 - name: add ansible/apt dependencies
Meredith Howard <mhoward@roomag.org>
parents: 48
diff changeset
4 apt: name={{item}} state=installed
Meredith Howard <mhoward@roomag.org>
parents: 48
diff changeset
5 with_items:
84
fdaa84bcac9c add apt-transport-https just in case
Meredith Howard <mhoward@roomag.org>
parents: 56
diff changeset
6 - apt-transport-https
56
b5103023562e oops, aptitude!
Meredith Howard <mhoward@roomag.org>
parents: 55
diff changeset
7 - aptitude
55
Meredith Howard <mhoward@roomag.org>
parents: 48
diff changeset
8 - python-apt
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9
32
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
10 - include: debian-stable.yml
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
11 when: ansible_distribution_release != 'NA'
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 tags: repos
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
32
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
14 - include: debian-testing.yml
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
15 when: ansible_distribution_release == 'NA'
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 tags: repos
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 - name: apt upgrade
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 apt: upgrade=yes update_cache=yes cache_valid_time=3600
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
20 tags: packages, upgrade

mercurial