Skip to content

Commit

Permalink
feat: enable web and faucet for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Dec 17, 2020
1 parent 3ee6d78 commit c1f3fbf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
14 changes: 4 additions & 10 deletions ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,13 @@
become: true
roles:
- role: dashd
when: dash_network != "mainnet" and dash_network != "testnet"
tags:
- dashd

- hosts: full_nodes
become: true
roles:
- role: dashd
when: dash_network != "mainnet" and dash_network != "testnet"
dashd_listen: true
tags:
- dashd
Expand Down Expand Up @@ -141,22 +139,19 @@
become: true
roles:
- role: dashd-generate-miner
when: dash_network != "mainnet" and dash_network != "testnet"
when: dash_network != "mainnet"

# Setup faucet and insight

- hosts: web
become: true
roles:
- role: multifaucet
when: dash_network != "mainnet" and dash_network != "testnet"
- multifaucet
- role: dashd
when: dash_network != "mainnet" and dash_network != "testnet"
dashd_indexes: true
dashd_zmq: true
dashd_listen: true
- role: insight
when: dash_network != "mainnet" and dash_network != "testnet"
- insight
tags:
- web

Expand All @@ -165,8 +160,7 @@
- hosts: masternode_wallet
become: true
roles:
- role: mn-init
when: dash_network != "mainnet"
- mn-init

# Activate sporks

Expand Down
1 change: 1 addition & 0 deletions terraform/aws/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Specify the provider and access details
provider "aws" {
version = "~> 3.21"
}

terraform {
Expand Down
4 changes: 2 additions & 2 deletions terraform/aws/templates/inventory/ansible_inventory.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ${masternode_hosts}
[seed_node]
${node_hosts}

[masternode_wallet]
[faucet_wallet]
dashd-wallet-1

[faucet_wallet]
[masternode_wallet]
dashd-wallet-2

0 comments on commit c1f3fbf

Please sign in to comment.