Commit 824a6b98 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: use TCP_NODELAY on re6stnet.

parent c762e461
......@@ -44,7 +44,7 @@
- shell: /usr/bin/re6stnet-ip6tables-check
- cron: name="ip6tables at reboot" special_time=reboot job="sleep 20 && /usr/bin/re6stnet-ip6tables-check"
- include: tcp_nodelay.yml
- name: Start re6st-node service
service: name=re6stnet state=started enabled=yes
......
---
- name: Check if configuration exists already
stat: path=/etc/re6stnet/re6stnet.conf
register: re6stnet_conf
- lineinfile: dest=/etc/re6stnet/re6stnet.conf line="O--socket-flags" state=present
when: re6stnet_conf.stat.exists == True
- lineinfile: dest=/etc/re6stnet/re6stnet.conf line='O"TCP_NODELAY"' state=present insertafter="O--socket-flags"
notify: restart re6stnet
when: re6stnet_conf.stat.exists == True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment