mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Renamed modes
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
file:
|
||||
path: "{{ backup_docker_to_local_folder }}databases.csv"
|
||||
state: absent
|
||||
when: reset_files | bool and run_once_backup_docker_to_local is not defined
|
||||
when: mode_reset | bool and run_once_backup_docker_to_local is not defined
|
||||
|
||||
- name: seed database values
|
||||
command:
|
||||
|
@@ -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
|
||||
|
@@ -65,11 +65,10 @@
|
||||
become: false
|
||||
delegate_to: localhost
|
||||
|
||||
|
||||
- name: show variable information
|
||||
debug:
|
||||
msg: "hosts_path: {{hosts_path}}\nmatrix_inventory_tmp_dir:{{ matrix_inventory_tmp_dir }}"
|
||||
when: verbose | bool
|
||||
when: mode_verbose | bool
|
||||
|
||||
- name: install requirements
|
||||
local_action: command just roles
|
||||
|
Reference in New Issue
Block a user