diff --git a/formated b/formated new file mode 100644 index 0000000..cd7de4c --- /dev/null +++ b/formated @@ -0,0 +1,11 @@ +On source host: + create ssh key + ssh-keygen -t rsa -b 4096 -C "your_email@domain.com" + ssh-copy-id remote_username@server_ip_address +On destination hosts: + create ansible user + adduser ansible + add ansible to sudo group + usermod -aG sudo ansible + create /etc/sudoers.c/ansible with the content: + ansible ALL=(ALL) NOPASSWD: ALL \ No newline at end of file