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

- Change consists of two deployment models: - Using Vagrant(single node, with/without docker) - Using Ansible(single node, with/without docker) - Updated quickstart documentation. - Some WIP comments, which will be addressed later. Depending on the requirements.
40 lines
781 B
YAML
40 lines
781 B
YAML
---
|
|
- include: debian.yml
|
|
when: distribution_name == "debian" or distribution_name == "ubuntu"
|
|
|
|
- include: centos.yml
|
|
when: distribution_name == "centos" or distribution_name == "red hat enterprise linux"
|
|
|
|
- include: fedora.yml
|
|
when: distribution_name == "fedora"
|
|
|
|
- name: Create Docker group
|
|
group:
|
|
name: docker
|
|
state: present
|
|
register: group_result
|
|
tags: [docker]
|
|
|
|
- name: Add USER to docker group
|
|
user:
|
|
append: yes
|
|
name: "{{ item }}"
|
|
state: present
|
|
group: docker
|
|
with_items:
|
|
- vagrant
|
|
- "{{ distribution_name }}"
|
|
tags: [docker]
|
|
|
|
- name: Start docker service
|
|
systemd:
|
|
name: docker
|
|
enabled: yes
|
|
state: started
|
|
tags: [docker]
|
|
|
|
- name: Install docker-py
|
|
pip:
|
|
name: docker-py
|
|
state: present
|
|
tags: [docker] |