add extra_options for ursula invocation

pull/1605/head
damon 2020-01-21 10:36:13 -08:00
parent f8e3c88a74
commit 935ebc2d8f
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@
state: started
image: nucypher/nucypher:latest
restart_policy: "unless-stopped"
command: "nucypher ursula run --teacher discover.nucypher.network:9151 --poa"
command: "nucypher ursula run --teacher discover.nucypher.network:9151 --poa {{extra_options}}"
volumes:
- /home/nucypher:/root/.local/share/
ports:

View File

@ -4,7 +4,8 @@ all:
children:
cassandra:
children:
digitalocean:
#### digital ocean uses default user "root" so we have to group these separately
digitalocean: # this can be anything... "my_nodes" or "home"
vars:
default_user: "root"
hosts:
@ -12,6 +13,8 @@ all:
GETH_ACCOUNT: "/Users/macperson/Library/Ethereum/goerli/keystore/UTC--2020-01-21T02-15-18.405738000Z--02e8cbf55e781ad4ca331fe5274be93814d760d0"
NUCYPHER_WORKER_ADDRESS: "0x02e8cbf55E781AD4cA331fe5274Be93814D760D0"
NUCYPHER_STAKER_ADDRESS: "0xD9b6B55b005f1B23b45a9a4aC9669deFac6dAd67"
#### amazon configures new instances with a .pem keypair based auth
# so we need this ansible_ssh_private_key_file variable
amazon:
vars:
ansible_ssh_private_key_file: ~/Downloads/damon-ansible-testing.pem