ansible-role-postgresql/tasks/repo.yml
2021-09-10 14:09:38 +02:00

11 lines
358 B
YAML

---
- name: add official repository key
ansible.builtin.apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
tags: postgresql
- name: add official repostiroy
ansible.builtin.apt_repository:
filename: postgresql
repo: 'deb http://apt.postgresql.org/pub/repos/apt {{ ansible_distribution_release }}-pgdg main'
tags: postgresql