diff --git a/README.md b/README.md index 9d00d55..8da9fa8 100644 --- a/README.md +++ b/README.md @@ -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 @@ -34,6 +36,8 @@ run playbook: ansible-playbook --ask-vault-pass --extra-vars '@passwd.yml' ubunt + + On TARGET: modify /etc/sysctl.conf, add the line: net.ipv4.icmp_echo_ignore_all = 1 #don't respond to pings