ansible – host manual preparation

Managed hosts:

useradd ansible
usermod -aG wheel ansible
visudo
# %wheel        ALL=(ALL)       ALL
%wheel  ALL=(ALL)       NOPASSWD: ALL
passwd ansible

Management host

ssh-copy-id -i .ssh/id_ed25519.pub ansible@managedHostname

Leave a Reply

Your email address will not be published. Required fields are marked *