mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

* Problem: No automated way to set up a dev/test network * Problem: docs not updated for stack, ansible and docker based dev environments * Problem: Using apt triggers java runtime installation on MacOS - Update pre_tasks in ansible - Update bigchaindb-stop playbook to handle pre_tasks * Update Tendermint version to 0.19.3 from 0.19.2 * Update tendermint version to 0.19.3 everywhere else * Problem: Sphinx warns about duplicate section labels Solution: Don't use sphinx.ext.autosectionlabel * Problem: Sphinx complains that run-node-with-docker not in any TOC Solution: Add run-node-with-docker to a TOC (i.e. to an index.rst file) * Tendermint has not tagged `0.19.3` container * Problem: Internal hyperlinks to new pages not working Solution: Add .html to the ends of the filename strings * Problem: Invalid script imports * Problem: Invalid comparison for supported OS version * Addressing comments I * Problem: No way to configure dev/forked repo for developers * Problem: Docs not updated with STACK_REPO parameter * Addressing comments II
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
---
|
|
- name: Stopping MongoDB Docker
|
|
docker_container:
|
|
name: "{{ mongodb_docker_name }}{{ item }}"
|
|
image: "mongo:{{ mongo_version }}"
|
|
state: absent
|
|
keep_volumes: no
|
|
force_kill: yes
|
|
with_sequence: start=1 end="{{ stack_size|int }}" stride=1
|
|
when: stack_type|lower == "docker" or stack_type|lower == "cloud"
|
|
tags: [mongodb]
|
|
|
|
- name: Removing MongoDB Directories
|
|
file:
|
|
path: "{{ mongodb_host_mount_dir }}{{ item }}"
|
|
state: absent
|
|
force: yes
|
|
with_sequence: start=0 end="{{ stack_size|int }}" stride=1
|
|
when: stack_type|lower == "docker" or stack_type|lower == "cloud"
|
|
tags: [mongodb]
|
|
|
|
- name: Get Running MongoDB Process
|
|
shell: "ps aux | grep \"[m]ongo\" | awk 'NR == 1 {print $2}'"
|
|
register: mongo_ps
|
|
when: stack_type|lower == "local"
|
|
tags: [mongodb]
|
|
|
|
- name: Kill MongoDB Process
|
|
shell: "kill {{ item }}"
|
|
with_items: "{{ mongo_ps.stdout_lines }}"
|
|
when: stack_type|lower == "local" and mongo_ps.stdout_lines|length > 0
|
|
tags: [mongodb]
|
|
|
|
- name: Removing MongoDB Directories
|
|
file:
|
|
path: "{{ item }}"
|
|
state: absent
|
|
force: yes
|
|
with_items: "{{ directories }}"
|
|
when: stack_type|lower == "local"
|
|
tags: [mongodb] |