mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
optimized discourse logic to solve bug
This commit is contained in:
@@ -48,17 +48,12 @@
|
||||
dest: "{{discourse_repository_directory}}containers/discourse_application.yml"
|
||||
notify: recreate discourse
|
||||
|
||||
- name: "add central database temporary to {{docker_compose_project_name}}_default"
|
||||
command:
|
||||
cmd: "docker network connect discourse_default central-{{ database_type }}"
|
||||
ignore_errors: true
|
||||
when: enable_central_database | bool
|
||||
|
||||
- name: "destroy container discourse_application"
|
||||
command:
|
||||
cmd: "./launcher destroy discourse_application"
|
||||
chdir: "{{discourse_repository_directory}}"
|
||||
ignore_errors: true
|
||||
notify: recreate discourse
|
||||
when: mode_reset | bool
|
||||
|
||||
- name: flush, to recreate discourse app
|
||||
|
Reference in New Issue
Block a user