Renamed modes

This commit is contained in:
2024-01-08 19:38:36 +01:00
parent f180c14e06
commit c7d6e8c68c
6 changed files with 14 additions and 11 deletions

View File

@@ -16,19 +16,19 @@
command:
cmd: "docker stop discourse_application"
ignore_errors: true
when: reset_files | bool
when: mode_reset | bool
- name: "rm container discourse_application"
command:
cmd: "docker rm discourse_application"
ignore_errors: true
when: reset_files | bool
when: mode_reset | bool
- name: "cleanup central database from {{docker_compose_project_name}}_default network"
command:
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
ignore_errors: true
when: reset_files | bool
when: mode_reset | bool
- name: add docker-compose.yml
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml