Ubuntu Ansible Playbook Authentication

preview_player
Показать описание
Ansible PC has the following packages installed
apt install ansible sshpass

remote PC has the following packages installed
apt install python-apt python aptitude openssh-server

running you playbook little -k for ssh password, big -K for sudo password

Setting up passwordless sudo
nano /etc/sudoer
add line at the end of the file and replace john with your user
john ALL=(ALL) NOPASSWD:ALL
Рекомендации по теме
Комментарии
Автор

Today is April 25, 2022. And I spent all bloody Sunday ...trying to get the very same garbage to work on my Ubuntu servers. I wish I had found your video 24 hours ago. I might have less grey hair. LOL Thank you !!

jeffherdz