feat: remove apt_key use
This commit is contained in:
parent
db4f38e578
commit
a96b7547e8
2 changed files with 12 additions and 4 deletions
|
@ -9,6 +9,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
|
|
||||||
- break: new system for user and privileges
|
- break: new system for user and privileges
|
||||||
- break: default postgresql version is 15
|
- break: default postgresql version is 15
|
||||||
|
- feat: remove apt_key use
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,18 @@
|
||||||
---
|
---
|
||||||
- name: Add official repository key
|
- name: Add repository key
|
||||||
ansible.builtin.apt_key:
|
ansible.builtin.get_url:
|
||||||
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
||||||
|
dest: /etc/apt/keyrings/postgresql.asc
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: "0644"
|
||||||
|
checksum: sha256:0144068502a1eddd2a0280ede10ef607d1ec592ce819940991203941564e8e76
|
||||||
tags: postgresql
|
tags: postgresql
|
||||||
|
|
||||||
- name: Add official repostiroy
|
- name: Add repository
|
||||||
ansible.builtin.apt_repository:
|
ansible.builtin.apt_repository:
|
||||||
|
repo: >-
|
||||||
|
deb [signed-by=/etc/apt/keyrings/postgresql.asc]
|
||||||
|
http://apt.postgresql.org/pub/repos/apt {{ ansible_distribution_release }}-pgdg main
|
||||||
filename: postgresql
|
filename: postgresql
|
||||||
repo: "deb http://apt.postgresql.org/pub/repos/apt {{ ansible_distribution_release }}-pgdg main"
|
|
||||||
tags: postgresql
|
tags: postgresql
|
||||||
|
|
Loading…
Reference in a new issue