forked from evolix/ansible-roles
Fix key and update just after add pgdg repo key
This commit is contained in:
parent
aa62555e9e
commit
ae07d508cf
|
@ -18,6 +18,11 @@
|
||||||
#url: http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc
|
#url: http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc
|
||||||
data: "{{ lookup('file', 'ACCC4CF8.asc') }}"
|
data: "{{ lookup('file', 'ACCC4CF8.asc') }}"
|
||||||
|
|
||||||
|
- name: Update and upgrade apt packages for PGDG repository
|
||||||
|
apt:
|
||||||
|
upgrade: yes
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
- name: Add APT preference file
|
- name: Add APT preference file
|
||||||
template:
|
template:
|
||||||
src: postgresql.pref.j2
|
src: postgresql.pref.j2
|
||||||
|
|
Loading…
Reference in a new issue