Preparations and fixes for AWS deployments

This commit is contained in:
Greg Szabo
2017-07-27 20:40:10 +00:00
parent b6af7e78d8
commit 4cb362d625
13 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- install - install
- {role: config, testnet_name: "{{lookup('env','TF_VAR_TESTNET_NAME')}}"} - {role: config, testnet_name: "{{lookup('env','TF_VAR_TESTNET_NAME')}}"}

0
ansible/inventory/ec2.py Normal file → Executable file
View File

View File

@ -1,6 +1,6 @@
--- ---
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
become: yes become: yes
roles: roles:
- stop - stop

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- stop - stop
- start - start

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- start - start

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- status - status

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- stop - stop

View File

@ -1,7 +1,7 @@
--- ---
#Ubuntu 16.04 is not installing the python package in the standard installation on DigitalOcean. This "patch" will install it so the rest of the ansible playbooks can work properly. #Ubuntu 16.04 is not installing the python package in the standard installation on DigitalOcean. This "patch" will install it so the rest of the ansible playbooks can work properly.
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
gather_facts: no gather_facts: no
tasks: tasks:
- raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) - raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)

View File

@ -2,7 +2,7 @@
#variable "service" is required #variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}" - hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles: roles:
- stop - stop
- install - install

View File

@ -12,7 +12,7 @@ URL: https://tendermint.com/
Packager: Greg Szabo Packager: Greg Szabo
Requires: tendermint >= 0.10.0 Requires: tendermint >= 0.10.0
Provides: basecli Provides: basecli
Requires(pre): /sbin/useradd Requires(pre): useradd
%description %description
Basecoin is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins. Basecoin is an ABCI application designed to be used with the Tendermint consensus engine to form a Proof-of-Stake cryptocurrency. It also provides a general purpose framework for extending the feature-set of the cryptocurrency by implementing plugins.

View File

@ -11,7 +11,7 @@ License: Apache 2.0
URL: https://tendermint.com/ URL: https://tendermint.com/
Packager: Greg Szabo Packager: Greg Szabo
Requires: tendermint >= 0.10.0 Requires: tendermint >= 0.10.0
Requires(pre): /sbin/useradd Requires(pre): useradd
%description %description
Ethermint enables ethereum to run as an ABCI application on tendermint and the COSMOS hub. This application allows you to get all the benefits of ethereum without having to run your own miners. Ethermint enables ethereum to run as an ABCI application on tendermint and the COSMOS hub. This application allows you to get all the benefits of ethereum without having to run your own miners.

View File

@ -11,7 +11,7 @@ License: Apache 2.0
URL: https://cosmos.network/ URL: https://cosmos.network/
Packager: Greg Szabo Packager: Greg Szabo
Requires: tendermint >= 0.10.0 Requires: tendermint >= 0.10.0
Requires(pre): /sbin/useradd Requires(pre): useradd
%description %description
Gaia description comes later. Gaia description comes later.

View File

@ -11,7 +11,7 @@ License: Apache 2.0
URL: https://tendermint.com/ URL: https://tendermint.com/
Packager: Greg Szabo Packager: Greg Szabo
Requires: tendermint >= 0.10.0 Requires: tendermint >= 0.10.0
Requires(pre): /sbin/useradd Requires(pre): useradd
%description %description
This software is intended to create a space to easily send invoices between and within institutions. Firstly, the commands of trackmatron are separated into two broad categories: submitting information to the blockchain (transactions), and retrieving information from the blockchain (query). This software is intended to create a space to easily send invoices between and within institutions. Firstly, the commands of trackmatron are separated into two broad categories: submitting information to the blockchain (transactions), and retrieving information from the blockchain (query).