roles/repositories/tasks/debian.yml

Mon, 22 Oct 2018 20:50:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 22 Oct 2018 20:50:46 -0500
changeset 83
f2ce8b027b1e
parent 56
b5103023562e
child 84
fdaa84bcac9c
permissions
-rw-r--r--

add repo filenames

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:
56
b5103023562e oops, aptitude!
Meredith Howard <mhoward@roomag.org>
parents: 55
diff changeset
6 - aptitude
55
Meredith Howard <mhoward@roomag.org>
parents: 48
diff changeset
7 - python-apt
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
32
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
9 - include: debian-stable.yml
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
10 when: ansible_distribution_release != 'NA'
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 tags: repos
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12
32
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
13 - include: debian-testing.yml
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
14 when: ansible_distribution_release == 'NA'
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 tags: repos
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
17 - name: apt upgrade
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
18 apt: upgrade=yes update_cache=yes cache_valid_time=3600
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
19 tags: packages, upgrade

mercurial