2017-11-12 09:06:57 -08:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
user: ubuntu
|
|
|
|
become: True
|
|
|
|
# user: root
|
|
|
|
roles:
|
|
|
|
- preconf
|
|
|
|
tags: preconf
|
|
|
|
|
|
|
|
- hosts: bootnode
|
|
|
|
vars:
|
2017-11-29 04:33:00 -08:00
|
|
|
PROXY_PORT: "8545"
|
2017-11-12 09:06:57 -08:00
|
|
|
username: "bootnode"
|
|
|
|
users:
|
|
|
|
- name: "bootnode"
|
2017-11-15 09:51:01 -08:00
|
|
|
home: "/home/bootnode"
|
2017-11-29 01:09:42 -08:00
|
|
|
# logsprefix: "/home/{{ username }}/logs"
|
2017-11-24 13:56:15 -08:00
|
|
|
# logentries_user_key: "0665901a-e843-41c5-82c1-2cc4b39f0b21"
|
2017-11-12 09:06:57 -08:00
|
|
|
roles:
|
|
|
|
- usermanager
|
2017-11-24 13:56:15 -08:00
|
|
|
# - logentries
|
2017-11-12 09:06:57 -08:00
|
|
|
- nodejs
|
|
|
|
- bootnode
|
2017-12-14 00:39:42 -08:00
|
|
|
- poa-logrotate
|
|
|
|
- poa-parity
|
|
|
|
- poa-pm2
|
|
|
|
- poa-netstats
|
2017-11-21 02:35:39 -08:00
|
|
|
- nginx
|
2017-11-12 09:06:57 -08:00
|
|
|
tags:
|
|
|
|
- bootnode
|
2017-12-12 04:31:02 -08:00
|
|
|
- include: bootnode-access.yml
|
|
|
|
tags:
|
|
|
|
- bootnode
|
2017-11-24 13:56:15 -08:00
|
|
|
|
2017-12-11 01:52:15 -08:00
|
|
|
- hosts: validator
|
2017-11-24 13:56:15 -08:00
|
|
|
vars:
|
2017-12-11 01:52:15 -08:00
|
|
|
username: "validator"
|
2017-11-24 13:56:15 -08:00
|
|
|
users:
|
2017-12-11 01:52:15 -08:00
|
|
|
- name: "validator"
|
|
|
|
home: "/home/validator"
|
2017-11-24 13:56:15 -08:00
|
|
|
roles:
|
|
|
|
- usermanager
|
|
|
|
- nodejs
|
2017-12-14 00:39:42 -08:00
|
|
|
- poa-logrotate
|
|
|
|
- poa-parity
|
|
|
|
- poa-pm2
|
|
|
|
- poa-netstats
|
2017-12-11 01:52:15 -08:00
|
|
|
- validator
|
2017-11-24 13:56:15 -08:00
|
|
|
tags:
|
2017-12-11 01:52:15 -08:00
|
|
|
- validator
|
2017-12-12 04:31:02 -08:00
|
|
|
- include: validator-access.yml
|
|
|
|
tags:
|
|
|
|
- validator
|
2017-11-28 04:30:30 -08:00
|
|
|
|
|
|
|
- hosts: netstat
|
|
|
|
vars:
|
2017-11-29 04:33:00 -08:00
|
|
|
PROXY_PORT: "3000"
|
2017-12-06 06:42:43 -08:00
|
|
|
NETSTATS_SERVER: "http://localhost:3000"
|
2017-11-28 04:30:30 -08:00
|
|
|
username: "netstat"
|
|
|
|
users:
|
|
|
|
- name: "netstat"
|
|
|
|
home: "/home/netstat"
|
|
|
|
roles:
|
|
|
|
- usermanager
|
|
|
|
- nodejs
|
2017-12-14 00:39:42 -08:00
|
|
|
- poa-logrotate
|
2017-11-28 04:30:30 -08:00
|
|
|
- netstat
|
2017-11-29 13:57:25 -08:00
|
|
|
- nginx
|
2017-11-28 04:30:30 -08:00
|
|
|
tags:
|
|
|
|
- netstat
|
2017-12-12 04:31:02 -08:00
|
|
|
- include: netstat-access.yml
|
|
|
|
tags:
|
|
|
|
- netstat
|
2017-11-28 11:38:56 -08:00
|
|
|
|
2017-11-29 10:39:49 -08:00
|
|
|
- hosts: explorer
|
|
|
|
vars:
|
2017-12-11 12:43:42 -08:00
|
|
|
PROXY_PORT: "3000"
|
2017-11-29 10:39:49 -08:00
|
|
|
explorerS_SERVER: "localhost"
|
|
|
|
username: "explorer"
|
|
|
|
users:
|
|
|
|
- name: "explorer"
|
|
|
|
home: "/home/explorer"
|
|
|
|
roles:
|
|
|
|
- usermanager
|
|
|
|
- nodejs
|
2017-12-14 00:39:42 -08:00
|
|
|
- poa-logrotate
|
|
|
|
- poa-parity
|
|
|
|
- poa-pm2
|
2017-11-29 10:39:49 -08:00
|
|
|
- explorer
|
2017-11-29 13:57:25 -08:00
|
|
|
- nginx
|
2017-11-29 10:39:49 -08:00
|
|
|
tags:
|
|
|
|
- explorer
|
2017-12-12 04:31:02 -08:00
|
|
|
- include: explorer-access.yml
|
|
|
|
tags:
|
|
|
|
- explorer
|
2017-11-29 10:39:49 -08:00
|
|
|
|
2017-12-11 01:52:15 -08:00
|
|
|
- hosts: moc
|
2017-11-28 13:46:56 -08:00
|
|
|
vars:
|
2017-12-11 01:52:15 -08:00
|
|
|
username: "moc"
|
2017-11-28 13:46:56 -08:00
|
|
|
users:
|
2017-12-11 01:52:15 -08:00
|
|
|
- name: "moc"
|
|
|
|
home: "/home/moc"
|
2017-11-28 13:46:56 -08:00
|
|
|
roles:
|
|
|
|
- usermanager
|
|
|
|
- nodejs
|
2017-12-14 00:39:42 -08:00
|
|
|
- poa-logrotate
|
|
|
|
- poa-parity
|
|
|
|
- poa-pm2
|
|
|
|
- poa-netstats
|
2017-12-11 01:52:15 -08:00
|
|
|
- moc
|
2017-11-28 13:46:56 -08:00
|
|
|
tags:
|
2017-12-11 01:52:15 -08:00
|
|
|
- moc
|
2017-12-12 04:31:02 -08:00
|
|
|
- include: moc-access.yml
|
|
|
|
tags:
|
|
|
|
- moc
|