Set user bin path for yq tool in remote machine setup
This commit is contained in:
parent
f7d1a8d6ed
commit
1512139426
@ -4,10 +4,11 @@ This playbook sets up the Cosmos Multisig application for managing multisig wall
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- [Mainnet node RPC and REST API endpoints](../../docs/run-first-validator.md)
|
||||
- [ansible](../README.md#ansible-installation)
|
||||
- [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install)
|
||||
- [Running Laconic validator node](../../docs/run-validator.md)
|
||||
- Keplr wallet extension installed in browser
|
||||
- If running playbook to setup deployment on remote machine, the following need to be installed in remote:
|
||||
- [laconic-so](https://github.com/cerc-io/stack-orchestrator/?tab=readme-ov-file#install)
|
||||
- [yq](https://github.com/mikefarah/yq?tab=readme-ov-file#wget)
|
||||
|
||||
## Configuration
|
||||
|
||||
@ -77,7 +78,7 @@ This playbook sets up the Cosmos Multisig application for managing multisig wall
|
||||
|
||||
* Check app logs:
|
||||
```bash
|
||||
laconic-so deployment --dir $DATA_DIRECTORY/$MULTISIG_DEPLOYMENT_DIR logs -f
|
||||
laconic-so deployment --dir $DATA_DIRECTORY/$MULTISIG_DEPLOYMENT_DIR logs -f cosmos-multisig-ui
|
||||
```
|
||||
|
||||
## Clean up
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
---
|
||||
- name: Setup and deploy the cosmos multisig app
|
||||
hosts: multihosts
|
||||
|
||||
# To use yq binary installed in user bin path
|
||||
environment:
|
||||
PATH: "{{ ansible_env.PATH }}:/home/{{ansible_user}}/bin"
|
||||
|
||||
vars_files:
|
||||
- cosmos-multisig-vars.yml
|
||||
vars:
|
||||
@ -11,6 +16,7 @@
|
||||
remote_spec_template: "{{data_directory}}/cosmos-multisig-app-spec-template.yml.j2"
|
||||
network_json: "../../config/network.json"
|
||||
remote_network_json: "{{data_directory}}/network.json"
|
||||
build_args: "{{ '--force-rebuild' if (lookup('env', 'FORCE_REBUILD') | default(omit, true)) not in [ 'false', 'False', '0' ] else '' }}"
|
||||
tasks:
|
||||
- name: Fail if DATA_DIRECTORY env var is not set
|
||||
fail:
|
||||
@ -23,7 +29,7 @@
|
||||
|
||||
- name: Build container image
|
||||
shell: |
|
||||
laconic-so --stack ~/cerc/cosmos-multisig-ui/stack-orchestrator/stacks/cosmos-multisig-ui build-containers
|
||||
laconic-so --stack ~/cerc/cosmos-multisig-ui/stack-orchestrator/stacks/cosmos-multisig-ui build-containers {{ build_args }}
|
||||
|
||||
- name: Create deployment spec file
|
||||
shell: |
|
||||
|
||||
@ -8,7 +8,7 @@ node_rest_endpoint: ""
|
||||
next_public_denom: "alnt"
|
||||
next_public_display_denom: "ALNT"
|
||||
next_public_display_denom_exponent: 18
|
||||
next_public_assets: '[{"denom_units":[{"denom":"alnt","exponent":0},{"denom":"lnt","exponent":18}],"base":"alnt","name":"Laconic Token","display":"ALNT","symbol":"alnt"}]'
|
||||
next_public_assets: '[{"denom_units":[{"denom":"alnt","exponent":0}],"base":"alnt","name":"Laconic Token","display":"ALNT","symbol":"alnt"}]'
|
||||
next_public_gas_price: "0.001alnt"
|
||||
next_public_address_prefix: "laconic"
|
||||
next_public_is_http_enabled: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user