Only try to configure our DB if it's defined
This commit is contained in:
parent
a3b7e64989
commit
d4e3ee7d9a
@ -38,6 +38,7 @@
|
|||||||
login_host: "{{ matrix_db_hostname }}"
|
login_host: "{{ matrix_db_hostname }}"
|
||||||
login_user: "{{ psql_ansible_user }}"
|
login_user: "{{ psql_ansible_user }}"
|
||||||
login_password: "{{ psql_ansible_password }}"
|
login_password: "{{ psql_ansible_password }}"
|
||||||
|
when: matrix_db_hostname is defined
|
||||||
- name: Set up Apache
|
- name: Set up Apache
|
||||||
block:
|
block:
|
||||||
- name: Template out config
|
- name: Template out config
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
- citext
|
- citext
|
||||||
- pg_trgm
|
- pg_trgm
|
||||||
- uuid-ossp
|
- uuid-ossp
|
||||||
|
when: pleroma_db_hostname is defined
|
||||||
- name: Set up Apache
|
- name: Set up Apache
|
||||||
block:
|
block:
|
||||||
- name: Enable modules
|
- name: Enable modules
|
||||||
|
Loading…
Reference in New Issue
Block a user