[WIP] Automate nitro bridge demo using Ansible #1

Draft
prathamesh wants to merge 7 commits from deep-stack/testnet-ops:ag-nitro-bridge-demo into main
2 changed files with 9 additions and 5 deletions
Showing only changes of commit 0dd0aa31c8 - Show all commits

View File

@ -6,13 +6,13 @@
- Add location of the directory containing the ansible binary to your `PATH`
- Optional: Set Locale Encoding to UTF-8:
- Optional: Set Locale Encoding to `UTF-8`:
Ansible requires the locale encoding to be UTF-8. You can either set the system-wide locale or use the LANG prefix when running Ansible commands.
Ansible requires the locale encoding to be `UTF-8`. You can either set the system-wide locale or use the `LANG` prefix when running Ansible commands.
- Option 1: Set System-Wide Locale
- Edit the /etc/default/locale file:
- Edit the `/etc/default/locale` file:
```bash
sudo nano /etc/default/locale
@ -35,3 +35,7 @@
```bash
LANG=en_IN.UTF-8 ansible-playbook your_playbook.yml
```
## Playbooks
- [nitro-bridge-demo-setup](./nitro-bridge-demo-setup/README.md)

View File

@ -6,7 +6,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
## Nitro Bridge Demo
The following commands have to be executed in [`ops/vulcanize/nitro-bridge-demo-setup`](./) directory
The following commands have to be executed in [`nitro-bridge-demo-setup`](./) directory
- To set up the Nitro Bridge Demo, execute the `run-bridge-demo.yml` Ansible playbook by running the following command.
@ -40,7 +40,7 @@ The following commands have to be executed in [`ops/vulcanize/nitro-bridge-demo-
### Cleanup
- To stop all deployments, run the `stop-deployments.yml` playbook in the `vulcanize/nitro-stack-demo` directory:
- To stop all deployments, run the `stop-deployments.yml` playbook in the `nitro-stack-demo` directory:
```bash
LANG=en_IN.utf8 ansible-playbook -i localhost, --connection=local stop-deployments.yml --extra-vars='{"target_host" : "localhost"}' -K --user $USER