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
52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
---
|
|
- name: Uninstall older versions of Docker | Debian
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: absent
|
|
with_items:
|
|
- docker
|
|
- docker-engine
|
|
- docker.io
|
|
when: uninstall_old_version
|
|
tags: [docker]
|
|
|
|
- name: Install dependencies | Debian
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- apt-transport-https
|
|
- ca-certificates
|
|
- curl
|
|
- software-properties-common
|
|
- python3-pip
|
|
tags: [docker]
|
|
|
|
- name: Add APT Key | Debian
|
|
apt_key:
|
|
url: "{{ apt_key_url }}"
|
|
id: "{{ apt_key_fingerprint }}"
|
|
state: present
|
|
register: add_repository_key
|
|
ignore_errors: true
|
|
tags: [docker]
|
|
|
|
- name: Use curl if apt_key fails | Debian
|
|
shell: "curl -sSl {{ apt_key_url }} | sudo apt-key add -"
|
|
args:
|
|
warn: no
|
|
when: add_repository_key is failed
|
|
tags: [docker]
|
|
|
|
- name: Add Docker repo and update cache | Debian
|
|
apt_repository:
|
|
repo: "{{ docker_apt_repo }}"
|
|
update_cache: yes
|
|
state: present
|
|
tags: [docker]
|
|
|
|
- name: Install Docker | Debian
|
|
apt:
|
|
name: "{{ docker_pkg }}"
|
|
state: present
|
|
tags: [docker] |