From 90f533a1f3d718ff9d6fb0c862cf284e0c856065 Mon Sep 17 00:00:00 2001 From: fossilfranv Date: Tue, 21 Mar 2023 20:21:25 +0100 Subject: [PATCH] Update 'README.md' --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c05483..0adbbce 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,9 @@ test connection: ansible -m ping --ask-vault-pass --extra-vars '@passwd.yml' TAR run playbook: ansible-playbook --ask-vault-pass --extra-vars '@passwd.yml' setup-pb.yml -l TARGET_IP OR NAME -u root -Reference: https://www.vultr.com/docs/how-to-configure-a-new-ubuntu-server-with-ansible/ \ No newline at end of file +Reference: https://www.vultr.com/docs/how-to-configure-a-new-ubuntu-server-with-ansible/ + +modify /etc/sysctl.conf, add the line: +net.ipv4.icmp_echo_ignore_all = 1 #don't respond to pings + +and then: sudo sysctl -p