forked from cerc-io/testnet-ops
Part of [Automate testnet nitro deployments using Ansible](https://www.notion.so/Automate-testnet-nitro-deployments-using-Ansible-0d15579430204b8daba9a8aa31e07568) Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/testnet-ops#3 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> |
||
|---|---|---|
| l2-setup | ||
| nitro-nodes-setup | ||
| .gitignore | ||
| README.md | ||
testnet-ops
Installation
-
Install Ansible
-
Add location of the directory containing the ansible binary to your
PATH -
Set Locale Encoding to
UTF-8Ansible requires the locale encoding to be
UTF-8. You can either use theLANGprefix when running Ansible commands or set the system-wide locale.-
Option 1: Use
LANGPrefix in CommandsIf you prefer not to change the system-wide locale, you can use the
LANGprefix when running Ansible commands:LANG=en_US.UTF-8 ansible-playbook your_playbook.yml -
Option 2: Set System-Wide Locale
-
Edit the
/etc/default/localefile:sudo nano /etc/default/locale -
Set the
LANGvariable to en_US.UTF-8:LANG="en_US.UTF-8" -
Reboot your system or log out and log back in to apply the changes.
-
-