Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos.package
Commits
824a6b98
Commit
824a6b98
authored
Jul 08, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: use TCP_NODELAY on re6stnet.
parent
c762e461
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
playbook/roles/re6stnet/tasks/main.yml
playbook/roles/re6stnet/tasks/main.yml
+1
-1
playbook/roles/re6stnet/tasks/tcp_nodelay.yml
playbook/roles/re6stnet/tasks/tcp_nodelay.yml
+12
-0
No files found.
playbook/roles/re6stnet/tasks/main.yml
View file @
824a6b98
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
-
shell
:
/usr/bin/re6stnet-ip6tables-check
-
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
-
name
:
Start re6st-node service
service
:
name=re6stnet state=started enabled=yes
service
:
name=re6stnet state=started enabled=yes
...
...
playbook/roles/re6stnet/tasks/tcp_nodelay.yml
0 → 100644
View file @
824a6b98
---
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment