Muawia Khan 10e55aa4e7
Problem: No automated way to set up a dev/test network (#2300)
* 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
2018-05-31 16:56:45 +02:00

34 lines
662 B
YAML

---
- name: Removing apt cache lists
file:
path: /var/lib/apt/lists/*
state: absent
force: yes
tags: [mongodb]
- name: Update Cache
apt: update_cache=yes
tags: [mongodb]
- name: Add APT Key | apt
apt_key:
keyserver: "{{ apt_keyserver }}"
id: "{{ apt_key_fingerprint }}"
state: present
tags: [mongodb]
- name: Add MongoDB repo and update cache | apt
apt_repository:
repo: "{{ mongodb_apt_repo }}"
state: present
update_cache: no
tags: [mongodb]
- name: Install MongoDB | apt
apt:
name: "{{ item }}"
state: present
update_cache: yes
with_items:
- "{{ mongodb_package }}"
tags: [mongodb]