forked from cerc-io/testnet-ops
1.2 KiB
1.2 KiB
testnet-ops
Installation
-
Install Ansible
-
Add location of the directory containing the ansible binary to your
PATH
-
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 theLANG
prefix when running Ansible commands.-
Option 1: Set System-Wide Locale
-
Edit the
/etc/default/locale
file:sudo nano /etc/default/locale
-
Set the
LANG
variable to en_IN.UTF-8:LANG="en_IN.UTF-8"
-
Reboot your system or log out and log back in to apply the changes.
-
-
Option 2: Use
LANG
Prefix in CommandsIf you prefer not to change the system-wide locale, you can skip the above step and use the
LANG
prefix when running Ansible commands:LANG=en_IN.UTF-8 ansible-playbook your_playbook.yml
-