Questions tagged [ansible]
49 questions
2
votes
2 answers
git@git:~$ ansible --version ERROR: Ansible requires the locale encoding to be UTF-8; Detected ISO8859-1
Installing Ansible on Ubuntu
Ubuntu builds are available in a PPA here.
To configure the PPA on your system and install Ansible run these commands:
$ sudo apt update
$ sudo apt install software-properties-common
$ sudo add-apt-repository --yes…

anjireddy
- 21
1
vote
1 answer
Ansible to reconnect after reboot
I have a task that needs to run after a reboot. I know that checking connection can be done with wait_for_connection.
I have the following draft:
- name: Reboot host
reboot:
- name: Wait 300 seconds, but only start checking after 60 seconds
…
0
votes
1 answer
need to run a .sh script in bin file in another host through cmd
I have tried this but not working.
Command that I have tried:
sudo -u ec2-user ssh -i {{ sso_key_path }}@{{ sso_ip_address }} "sh sso_file.sh"