mirror of https://github.com/nucypher/nucypher.git
Adjust provisioning CLI usage
parent
7b6a65f37b
commit
cb1344263c
2
Pipfile
2
Pipfile
|
@ -61,7 +61,7 @@ nucypher = {editable = true, path = "."}
|
|||
|
||||
[scripts]
|
||||
install-solc = "./scripts/install_solc.sh"
|
||||
nucypher = "python3 scripts/cli.py"
|
||||
nucypher = "python3 nucypher/cli.py"
|
||||
|
||||
[pipenv]
|
||||
allow_prereleases = true
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
register: ursula_passphrase
|
||||
|
||||
- name: "Configure Ursula"
|
||||
shell: "pipenv run nucypher --federated-only configure install --ursula --rest-host {{inventory_hostname}}"
|
||||
shell: "pipenv run nucypher configure install --rest-host {{inventory_hostname}}"
|
||||
args:
|
||||
chdir: ./code
|
||||
vars:
|
||||
|
@ -118,7 +118,7 @@
|
|||
|
||||
- name: "Get Ursula Seed Node Config (and more)"
|
||||
slurp:
|
||||
src: ".local/share/nucypher/ursula.config"
|
||||
src: "~/.local/share/nucypher/ursula.config"
|
||||
register: ursula_seed_node_config
|
||||
run_once: true
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Description="Run 'Ursula', a NuCypher Staking Node."
|
|||
User=ubuntu
|
||||
Type=simple
|
||||
Environment="NUCYPHER_KEYRING_PASSPHRASE={{ursula_passphrase.stdout}}"
|
||||
ExecStart={{env_dir.stdout}}/bin/nucypher ursula run --teacher-uri {{ seed_node_metadata.checksum_address }}@{{ seed_node_metadata.rest_host }}:{{seed_node_metadata.rest_port}}
|
||||
ExecStart={{env_dir.stdout}}/bin/nucypher ursula run --teacher-uri {{ seed_node_metadata.checksum_address }}@https://{{ seed_node_metadata.rest_host }}:{{seed_node_metadata.rest_port}}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue