Update 'README.md'
This commit is contained in:
parent
29a19b2716
commit
d27bddf373
@ -24,12 +24,16 @@ 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
|
||||
|
||||
|
||||
run playbook: ansible-playbook --ask-vault-pass --extra-vars '@passwd.yml' ubuntu/setup-pb.yml -l TARGET_IP OR NAME -u root
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
On TARGET:
|
||||
modify /etc/sysctl.conf, add the line:
|
||||
net.ipv4.icmp_echo_ignore_all = 1 #don't respond to pings
|
||||
|
||||
Loading…
Reference in New Issue
Block a user