2024-09-03 05:00:56 +00:00
|
|
|
# testnet-ops
|
|
|
|
|
2024-09-05 07:27:35 +00:00
|
|
|
## Installation
|
|
|
|
|
|
|
|
- Install [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-and-upgrading-ansible-with-pip)
|
|
|
|
|
|
|
|
- Add location of the directory containing the ansible binary to your `PATH`
|
|
|
|
|
|
|
|
- Set Locale Encoding to `UTF-8`
|
|
|
|
|
2024-09-09 13:37:41 +00:00
|
|
|
Ansible requires the locale encoding to be `UTF-8`. You can either use the `LANG` prefix when running Ansible commands or set the system-wide locale
|
2024-09-05 07:27:35 +00:00
|
|
|
|
|
|
|
- Option 1: Use `LANG` Prefix in Commands
|
|
|
|
|
|
|
|
If you prefer not to change the system-wide locale, you can use the `LANG` prefix when running Ansible commands:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
LANG=en_US.UTF-8 ansible-playbook your_playbook.yml
|
|
|
|
```
|
|
|
|
|
|
|
|
- Option 2: Set System-Wide Locale
|
|
|
|
|
|
|
|
- Edit the `/etc/default/locale` file:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo nano /etc/default/locale
|
|
|
|
```
|
|
|
|
|
|
|
|
- Set the `LANG` variable to en_US.UTF-8:
|
|
|
|
|
2024-09-05 07:58:00 +00:00
|
|
|
```
|
2024-09-05 07:27:35 +00:00
|
|
|
LANG="en_US.UTF-8"
|
|
|
|
```
|
|
|
|
|
2024-09-09 13:37:41 +00:00
|
|
|
- Reboot your system or log out and log back in to apply the changes
|
2024-09-05 07:27:35 +00:00
|
|
|
|
|
|
|
- Reference: <https://udhayakumarc.medium.com/error-ansible-requires-the-locale-encoding-to-be-utf-8-detected-iso8859-1-6da808387f7d>
|
|
|
|
|
|
|
|
## Playbooks
|
|
|
|
|
2024-09-12 04:43:53 +00:00
|
|
|
- [stack-orchestrator-setup](./stack-orchestrator-setup/README.md)
|
2024-09-05 07:58:00 +00:00
|
|
|
- [nitro-node-setup](./nitro-nodes-setup/README.md)
|
2024-09-09 06:11:31 +00:00
|
|
|
- [nitro-bridge-setup](./nitro-bridge-setup/README.md)
|
2024-09-09 13:37:41 +00:00
|
|
|
- [nitro-contracts-setup](./nitro-contracts-setup/README.md)
|
2024-10-01 12:17:10 +00:00
|
|
|
- [service-provider-setup](./service-provider-setup/README.md)
|