mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
32 lines
901 B
YAML
32 lines
901 B
YAML
# Copyright © 2020 Interplanetary Database Association e.V.,
|
|
# Planetmint and IPDB software contributors.
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
- hosts: all
|
|
gather_facts: false
|
|
vars_files:
|
|
- vars/stack-config.yml
|
|
vars:
|
|
action: "{{ operation }}"
|
|
home_dir: "{{ home_path }}"
|
|
serial: 1
|
|
pre_tasks:
|
|
- raw: "apt-get -qqy update && apt-get install -qqy python-minimal python-pip || dnf -y install python27 || which python"
|
|
- name: Gathering Facts
|
|
setup: #aka gather_facts
|
|
roles:
|
|
- { role: py36, when: stack_type|lower == "local" }
|
|
- { role: docker, when: stack_type|lower == "docker" or stack_type|lower == "cloud" }
|
|
- mongodb
|
|
|
|
- hosts: all
|
|
vars_files:
|
|
- vars/stack-config.yml
|
|
vars:
|
|
action: "{{ operation }}"
|
|
home_dir: "{{ home_path }}"
|
|
roles:
|
|
- tendermint
|
|
- planetmint
|