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

37 lines
985 B
YAML

---
- name: Check version of python3
shell: "python3 -c 'import platform; print(platform.python_version())' | cut -d. -f-2"
register: py36_ver
tags: [py36]
- name: Install py36 | dnf
dnf:
name: "{{ item }}"
state: present
with_items:
- "python36"
- libselinux-python
- policycoreutils-python
- wget
when: py36_ver.stdout | float < 3.6
tags: [py36]
- name: Update fedora
shell: dnf -y update
register: update_fed
failed_when: "'FAILED' in update_fed.stderr or update_fed.rc != 0"
warn: no
tags: [py36]
- name: Creating files for python 3.6 installation
template: src=install_pip36.j2 dest=/home/vagrant/install_pip36.bash
mode: 0755
when: py36_ver.stdout | float < 3.6
tags: [py36]
- name: Install pip36
shell: "bash /home/vagrant/install_pip36.bash > install_pip36.txt"
register: install_pip36
failed_when: "'FAILED' in install_pip36.stderr or install_pip36.rc != 0"
when: py36_ver.stdout | float < 3.6
tags: [py36]