mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
General discourse optimations
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
listen: recreate discourse
|
||||
|
||||
- name: "add central database temporary to {{application_id}}_default"
|
||||
command:
|
||||
cmd: "docker network connect {{applications.discourse.network}} central-{{ database_type }}"
|
||||
ignore_errors: true
|
||||
when: applications | is_feature_enabled('central_database',application_id)
|
||||
command: docker network connect {{applications.discourse.network}} central-{{ database_type }}
|
||||
failed_when: >
|
||||
result.rc != 0 and
|
||||
'already exists in network' not in result.stderr
|
||||
register: result
|
||||
when: applications | is_feature_enabled('central_database', application_id)
|
||||
listen: recreate discourse
|
||||
|
||||
- name: rebuild discourse
|
||||
|
Reference in New Issue
Block a user