ansible-role-postgresql/tasks/repo.yml

12 lines
358 B
YAML
Raw Normal View History

2021-09-10 12:09:38 +00:00
---
- 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