Add step to fetch asset addresses in nitro-node playbook (#15)
Part of [Service Provider Setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5) Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: #15
This commit is contained in:
parent
65be098ce9
commit
bd1c7bcb3f
@ -115,3 +115,8 @@
|
||||
get_url:
|
||||
url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/nitro-node-config.yml
|
||||
dest: "{{ nitro_directory }}"
|
||||
|
||||
- name: Fetch required asset addresses
|
||||
get_url:
|
||||
url: https://git.vdb.to/cerc-io/testnet-laconicd-stack/raw/branch/main/ops/stage2/assets.json
|
||||
dest: "{{ nitro_directory }}"
|
||||
|
@ -1,5 +1,7 @@
|
||||
# service-provider-setup
|
||||
|
||||
This setup has been tested on digitalocean droplets running ubuntu 22.04 LTS
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Setup Ansible: follow the [installation](../README.md#installation) guide to setup ansible on your machine
|
||||
@ -56,8 +58,8 @@
|
||||
|
||||
# vars/webapp-vars.yml
|
||||
authority_name: "" # eg: laconic-authority
|
||||
cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 2
|
||||
memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 4G
|
||||
cpu_reservation: "1" # minimum number of cpu cores to be used, eg: 1
|
||||
memory_reservation: "2G" # minimum amount of memory in GB to be used, eg: 2G
|
||||
cpu_limit: "6" # maximum number of cpu cores to be used, eg: 6
|
||||
memory_limit: "8G" # maximum amount of memory in GB to be used, eg: 8G
|
||||
deployer_gpg_passphrase: "" # passphrase for creating GPG key used by webapp-deployer, eg: SECRET
|
||||
|
@ -62,13 +62,13 @@ Run the following commands on your target machine:
|
||||
```
|
||||
If the command outputs `"$HOME/bin is not in PATH"`, you'll need to add it to your `PATH`.
|
||||
|
||||
- To add `$HOME/bin` to your `PATH`, run the following command:
|
||||
- To add `$HOME/bin` to your `PATH`, run the following command:
|
||||
|
||||
```bash
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
```
|
||||
|
||||
- To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell):
|
||||
- To make this change permanent, add the following line to your shell configuration file (`~/.bashrc` or `~/.zshrc`, depending on your shell):
|
||||
|
||||
```bash
|
||||
# For bash users
|
||||
|
@ -14,10 +14,11 @@
|
||||
|
||||
## Setup a user
|
||||
|
||||
Execute the following commands in the `user-setup` directory
|
||||
|
||||
- Create a new `hosts.ini` file:
|
||||
|
||||
```bash
|
||||
cd user-setup/
|
||||
cp ../hosts.example.ini hosts.ini
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user