mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 06:01:04 +01:00
Flush handlers every time
This commit is contained in:
parent
26f9cbd49c
commit
d21c3b3072
@ -12,13 +12,6 @@
|
|||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "destroy container discourse_application"
|
|
||||||
command:
|
|
||||||
cmd: "./launcher destroy discourse_application"
|
|
||||||
chdir: "{{discourse_repository_directory}}"
|
|
||||||
ignore_errors: true
|
|
||||||
when: mode_reset | bool
|
|
||||||
|
|
||||||
- name: "cleanup central database from {{docker_compose_project_name}}_default network"
|
- name: "cleanup central database from {{docker_compose_project_name}}_default network"
|
||||||
command:
|
command:
|
||||||
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
||||||
@ -31,7 +24,6 @@
|
|||||||
|
|
||||||
- name: flush, to recreate discourse docker compose
|
- name: flush, to recreate discourse docker compose
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
when: enable_central_database | bool
|
|
||||||
|
|
||||||
- name: pull docker repository
|
- name: pull docker repository
|
||||||
git:
|
git:
|
||||||
@ -59,10 +51,16 @@
|
|||||||
cmd: "docker network connect discourse_default central-{{ database_type }}"
|
cmd: "docker network connect discourse_default central-{{ database_type }}"
|
||||||
when: enable_central_database | bool
|
when: enable_central_database | bool
|
||||||
|
|
||||||
|
- name: "destroy container discourse_application"
|
||||||
|
command:
|
||||||
|
cmd: "./launcher destroy discourse_application"
|
||||||
|
chdir: "{{discourse_repository_directory}}"
|
||||||
|
ignore_errors: true
|
||||||
|
when: mode_reset | bool
|
||||||
|
|
||||||
- name: flush, to recreate discourse app
|
- name: flush, to recreate discourse app
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
when: enable_central_database | bool
|
|
||||||
|
|
||||||
- name: "remove central database from {{docker_compose_project_name}}_default"
|
- name: "remove central database from {{docker_compose_project_name}}_default"
|
||||||
command:
|
command:
|
||||||
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user