From 6f30449ff1e5158e8af928c57ce83ca2e290d39e Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Fri, 9 Apr 2021 13:17:24 -0700 Subject: [PATCH] Update 'README.md' --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee6fbb4..e3768b6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ -# ansible +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 + + +