testnet-ops/README.md

42 lines
1.2 KiB
Markdown
Raw Normal View History

2024-09-03 05:00:56 +00:00
# testnet-ops
2024-09-03 06:58:24 +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`
2024-09-03 08:42:46 +00:00
- Optional: Set Locale Encoding to `UTF-8`:
2024-09-03 06:58:24 +00:00
2024-09-03 08:42:46 +00:00
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.
2024-09-03 06:58:24 +00:00
- Option 1: Set System-Wide Locale
2024-09-03 08:42:46 +00:00
- Edit the `/etc/default/locale` file:
2024-09-03 06:58:24 +00:00
```bash
sudo nano /etc/default/locale
```
- Set the `LANG` variable to en_IN.UTF-8:
```Copy code
LANG="en_IN.UTF-8"
```
- Reboot your system or log out and log back in to apply the changes.
- Reference: <https://udhayakumarc.medium.com/error-ansible-requires-the-locale-encoding-to-be-utf-8-detected-iso8859-1-6da808387f7d>
- Option 2: Use `LANG` Prefix in Commands
If you prefer not to change the system-wide locale, you can skip the above step and use the `LANG` prefix when running Ansible commands:
```bash
LANG=en_IN.UTF-8 ansible-playbook your_playbook.yml
```
2024-09-03 08:42:46 +00:00
## Playbooks
- [nitro-bridge-demo-setup](./nitro-bridge-demo-setup/README.md)