ansible-role-wikijs/docs/POSTGRES.md

600 B

PostgreSQL

This variation of the original role is intended to be composed with another role that sets up the database. Here is an example using anxs.postgresql

Example Playbook

  roles:
    - anxs.postgresql

Example Variables

postgresql_users:
  - name: wikijs
    pass: "{{ lookup('ansible.builtin.env', 'WIKIJS_POSTGRES_PASSWORD') }}"
    encrypted: yes
    state: present

postgresql_databases:
  - name: wikijs
    owner: wikijs
    state: present