roles/repositories/tasks/debian-stable.yml

changeset 83
f2ce8b027b1e
parent 82
ae08d6315368
child 85
25111b904b2c
equal deleted inserted replaced
82:ae08d6315368 83:f2ce8b027b1e
1 --- 1 ---
2 - name: "add backports repo" 2 - name: "add backports repo"
3 apt_repository: 3 apt_repository:
4 filename: "debian-backports"
4 repo: "deb http://cdn-fastly.deb.debian.org/debian {{ansible_distribution_release}}-backports main" 5 repo: "deb http://cdn-fastly.deb.debian.org/debian {{ansible_distribution_release}}-backports main"
5 update_cache: false 6 update_cache: false
6 7
7 - name: "add pgdg repo" 8 - name: "add pgdg repo"
8 apt_repository: 9 apt_repository:
10 filename: "pgdg"
9 repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main" 11 repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main"
10 update_cache: false 12 update_cache: false
11 when: ansible_architecture in ["i386", "x86_64"] 13 when: ansible_architecture in ["i386", "x86_64"]
12 14
13 - name: "remove defunct repositories" 15 - name: "remove defunct repositories"

mercurial