postgresql / server: enable the postgresql 12 module on rhel8 hosts

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-19 12:06:32 -07:00
parent 54cb28e1c6
commit e918a3b08f

View file

@ -30,6 +30,16 @@
- packages
- postgresql
- name: on rhel8 hosts enable the postgresql 12 module.
copy:
dest: /etc/dnf/modules.d/postgresql.module
content: |
[postgresql]
name=postgresql
stream=12
profiles=
state=enabled
- name: install postgresql server packages (dnf)
package:
state: present