Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ansible/postgresql] Use the official redhat.rhel_system_roles.postgresql collection to setup postgres #381

Open
ghost opened this issue Apr 17, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Apr 17, 2024

For RHEL operating systems, you may use the official red hat collection to setup Postgres:

redhat.rhel_system_roles.postgresql
https://console.redhat.com/preview/ansible/automation-hub/repo/published/redhat/rhel_system_roles/docs/README_postgresql/

https://galaxy.ansible.com/ui/repo/published/fedora/linux_system_roles/docs/README_postgresql/

- name: Include RHEL Postgres setup role
  ansible.builtin.include_role:
    name: redhat.rhel_system_roles.postgresql
  vars:
    postgresql_version: "{{ jfrog_postgresql__version }}"
    postgresql_password: "{{ jfrog_postgresql__password }}"
    postgresql_ssl_enable: "{{ jfrog_postgresql__ssl_enable }}"
    postgresql_cert_name: "{{ jfrog_postgresql__cert_path }}"
    postgresql_certificates:
      - name: "{{ jfrog_postgresql__gen_cert_name }}"
        dns: "{{ jfrog_postgresql__gen_cert_dns }}"
        ca: "{{ jfrog_postgresql__gen_cert_ca }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants