Only try to configure our DB if it's defined

This commit is contained in:
Salt 2020-08-02 08:06:38 -05:00
parent a3b7e64989
commit d4e3ee7d9a
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@
login_host: "{{ matrix_db_hostname }}"
login_user: "{{ psql_ansible_user }}"
login_password: "{{ psql_ansible_password }}"
when: matrix_db_hostname is defined
- name: Set up Apache
block:
- name: Template out config

View File

@ -50,6 +50,7 @@
- citext
- pg_trgm
- uuid-ossp
when: pleroma_db_hostname is defined
- name: Set up Apache
block:
- name: Enable modules