elan.opencast_postgresql

Ansible: Opencast PostgreSQL Role

This Ansible role installs and prepares a PostgreSQL database server for Opencast.

Dependencies

This role requires the PostgreSQL community collection:

ansible-galaxy collection install community.postgresql

Role Variables

  • opencast_postgresql_version
    • PostgreSQL major version to install (default: 12)
    • Enables CentOS AppStream
  • opencast_postgresql_user:
    • Database user to create (default: opencast)
  • opencast_postgresql_password
    • Databse password for user (required)
  • opencast_postgresql_database
    • Database name (default: opencast)
  • opencast_postgresql_connection_hosts
    • List of hosts allowed to connect to database (default: [127.0.0.1/32, ::1/128])

Example Playbook

Example of how to configure and use the role:

- hosts: servers
  become: true
  roles:
    - role: elan.opencast_postgresql
      opencast_postgresql_password: secret
About

Install and prepare PostgreSQL for Opencast

Install
ansible-galaxy install elan.opencast_postgresql
GitHub repository
License
bsd-3-clause
Downloads
232
Owner
elan e.V. is a German non-profit organization helping universities and other higher education organizations with all things related to e-learning