add script + doc to remove everything

This commit is contained in:
Thomas vO
2018-11-28 11:02:51 +01:00
parent 2bdc35de63
commit caba16ea0d
3 changed files with 46 additions and 2 deletions

View File

@ -53,4 +53,11 @@
- name: Create Matrix network in Docker
shell:
cmd: "docker network create --driver=bridge {{ matrix_docker_network }}"
when: "result_check_docker_network.stdout == ''"
when: "result_check_docker_network.stdout == ''"
- name: Ensure matrix-remove-all script created
template:
src: "{{ role_path }}/templates/usr-local-bin/matrix-remove-all.j2"
dest: "/usr/local/bin/matrix-remove-all"
mode: 0750