mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
14 lines
560 B
YAML
14 lines
560 B
YAML
- name: "Load database variables for reset function"
|
|
include_vars: "{{playbook_dir}}/roles/cmp-rdbms/vars/main.yml"
|
|
|
|
- name: "cleanup central database from {{application_id}}_default network"
|
|
command:
|
|
cmd: "docker network disconnect {{applications | get_app_conf(application_id, 'network', True)}} {{ database_host }}"
|
|
ignore_errors: true
|
|
|
|
- name: "destroy container discourse_application"
|
|
command:
|
|
cmd: "./launcher destroy discourse_application"
|
|
chdir: "{{ docker_repository_directory }}"
|
|
ignore_errors: true
|
|
notify: recreate discourse |