# HG changeset patch # User Meredith Howard # Date 1561191970 14400 # Node ID 939e12400bd5226500b00390eb268efae2019e39 # Parent 47d7ef3be55319066680fd6ad7350c86428d8051# Parent 25111b904b2c7e4d8f9c101b8ce287f2ae97af9e merge diff --git a/roles/repositories/tasks/debian-stable.yml b/roles/repositories/tasks/debian-stable.yml --- a/roles/repositories/tasks/debian-stable.yml +++ b/roles/repositories/tasks/debian-stable.yml @@ -1,11 +1,13 @@ --- - name: "add backports repo" apt_repository: - repo: "deb http://http.debian.net/debian {{ansible_distribution_release}}-backports main" + filename: "debian-backports" + repo: "deb https://deb.debian.org/debian {{ansible_distribution_release}}-backports main" update_cache: false - name: "add pgdg repo" apt_repository: + filename: "pgdg" repo: "deb http://apt.postgresql.org/pub/repos/apt/ {{ansible_distribution_release}}-pgdg main" update_cache: false when: ansible_architecture in ["i386", "x86_64"] diff --git a/roles/repositories/tasks/debian-testing.yml b/roles/repositories/tasks/debian-testing.yml --- a/roles/repositories/tasks/debian-testing.yml +++ b/roles/repositories/tasks/debian-testing.yml @@ -9,4 +9,5 @@ - name: add unstable repo apt_repository: - repo: "deb http://http.debian.net/debian unstable main" + filename: "debian-unstable" + repo: "deb https://deb.debian.org/debian unstable main" diff --git a/roles/repositories/tasks/debian.yml b/roles/repositories/tasks/debian.yml --- a/roles/repositories/tasks/debian.yml +++ b/roles/repositories/tasks/debian.yml @@ -3,6 +3,7 @@ - name: add ansible/apt dependencies apt: name={{item}} state=installed with_items: + - apt-transport-https - aptitude - python-apt