Update 'README.md'
This commit is contained in:
parent
d27bddf373
commit
edabb66857
@ -25,6 +25,8 @@ move and edit config to ~.ssh/config
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
test connection: ansible -m ping --ask-vault-pass --extra-vars '@passwd.yml' TARGET_IP OR NAME -u root
|
test connection: ansible -m ping --ask-vault-pass --extra-vars '@passwd.yml' TARGET_IP OR NAME -u root
|
||||||
|
|
||||||
|
|
||||||
@ -34,6 +36,8 @@ run playbook: ansible-playbook --ask-vault-pass --extra-vars '@passwd.yml' ubunt
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
On TARGET:
|
On TARGET:
|
||||||
modify /etc/sysctl.conf, add the line:
|
modify /etc/sysctl.conf, add the line:
|
||||||
net.ipv4.icmp_echo_ignore_all = 1 #don't respond to pings
|
net.ipv4.icmp_echo_ignore_all = 1 #don't respond to pings
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user