Install pgAdmin4 web client and client binaries.
pg_version: 12
pgadmin_setup_email: admin@example.com
pgadmin_setup_password: correct horse battery staple
pgdg_package: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-{{ ansible_distribution_major_version }}-x86_64/pgdg-redhat-repo-latest.noarch.rpm"
pgadmin_package: https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-2-1.noarch.rpm
The EPEL repo is used to get python dependencies.
- geerlingguy.repo-epel
- hosts: servers
roles:
- deekayen.pgadmin4
Most of the work was done by Tadej Borovšak in Installing pgAdmin4 on Centos 7.