nabarun
65be098ce9
Part of [Service Provider Setup](https://www.notion.so/Service-provider-setup-a09e2207e1f34f3a847f7ce9713b7ac5) - Move user setup playbook to separate directory - Remove unneeded variables Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: #14
1.6 KiB
1.6 KiB
testnet-ops
Installation
-
Install Ansible
-
Add location of the directory containing the ansible binary to your
PATH
-
Set Locale Encoding to
UTF-8
Ansible requires the locale encoding to be
UTF-8
. You can either use theLANG
prefix when running Ansible commands or set the system-wide locale-
Option 1: Use
LANG
Prefix in CommandsIf you prefer not to change the system-wide locale, you can use the
LANG
prefix when running Ansible commands:LANG=en_US.UTF-8 ansible-playbook your_playbook.yml
-
Option 2: Set System-Wide Locale
-
Edit the
/etc/default/locale
file:sudo nano /etc/default/locale
-
Set the
LANG
variable to en_US.UTF-8:LANG="en_US.UTF-8"
-
Reboot your system or log out and log back in to apply the changes
-
-
-
Verify ansible installation by running the following command:
ansible --version # ansible [core 2.17.2]
-
Install
sshpass
used for automating SSH password authenticationsudo apt-get install sshpass