forked from saratov/infra
disable rp_filter on all interfaces
This commit is contained in:
parent
e63dc2e79c
commit
6caf9144d7
@ -8,6 +8,13 @@
|
|||||||
delay: 3
|
delay: 3
|
||||||
timeout: 60
|
timeout: 60
|
||||||
|
|
||||||
|
- name: disable rp_filter on all interfaces
|
||||||
|
shell: |
|
||||||
|
for DEV in /proc/sys/net/ipv4/conf/*/rp_filter
|
||||||
|
do
|
||||||
|
echo 0 > $DEV
|
||||||
|
done
|
||||||
|
|
||||||
- name: disable apt-cache in tmpfs
|
- name: disable apt-cache in tmpfs
|
||||||
block:
|
block:
|
||||||
- lineinfile:
|
- lineinfile:
|
||||||
|
Loading…
Reference in New Issue
Block a user