deployment-playbooks/site.yml

106 lines
1.7 KiB
YAML
Raw Normal View History

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"
home: "/home/bootnode"
2017-11-29 01:09:42 -08:00
# logsprefix: "/home/{{ username }}/logs"
# logentries_user_key: "0665901a-e843-41c5-82c1-2cc4b39f0b21"
2017-11-12 09:06:57 -08:00
roles:
- usermanager
# - 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
- bootnode-access
2017-12-12 04:31:02 -08:00
tags:
- bootnode
2017-12-11 01:52:15 -08:00
- hosts: validator
vars:
2017-12-11 01:52:15 -08:00
username: "validator"
users:
2017-12-11 01:52:15 -08:00
- name: "validator"
home: "/home/validator"
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
- validator-access
2017-12-12 04:31:02 -08:00
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
- nginx
- netstat-access
2017-12-12 04:31:02 -08:00
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
- nginx
- explorer-access
2017-12-12 04:31:02 -08:00
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
- moc-access
2017-12-12 04:31:02 -08:00
tags:
- moc