Update 'README.md'
This commit is contained in:
parent
6b0d3daa01
commit
6f30449ff1
15
README.md
15
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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user