roles/repositories/tasks/debian.yml

Wed, 13 Apr 2016 12:34:38 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 13 Apr 2016 12:34:38 -0400
changeset 32
70eb0f5478d8
parent 21
92716e2eba34
child 48
af865a84224a
permissions
-rw-r--r--

break out settings for stable and testing

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
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 - name: add python-apt
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 apt: name=python-apt state=installed
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5
32
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
6 - include: debian-stable.yml
70eb0f5478d8 break out settings for stable and testing
Meredith Howard <mhoward@roomag.org>
parents: 21
diff changeset
7 when: ansible_distribution_release != 'NA'
17
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 tags: repos
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-testing.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
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 - name: apt upgrade
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 apt: upgrade=yes update_cache=yes cache_valid_time=3600
d0d9fdf1f9d3 start breaking roles out
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16 tags: packages, upgrade

mercurial