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
Kirill Smelkov
slapos.package
Commits
f1e06894
Commit
f1e06894
authored
Oct 24, 2019
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Setup limits
For now nofile hard limit is set to 1048576. /reviewed-on
!104
parent
0e51aaef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
playbook/roles/vifib-server/files/slapos_limit.conf
playbook/roles/vifib-server/files/slapos_limit.conf
+1
-0
playbook/roles/vifib-server/tasks/main.yml
playbook/roles/vifib-server/tasks/main.yml
+1
-1
No files found.
playbook/roles/vifib-server/files/slapos_limit.conf
0 → 100644
View file @
f1e06894
root
hard
nofile
1048576
playbook/roles/vifib-server/tasks/main.yml
View file @
f1e06894
...
...
@@ -24,7 +24,7 @@
-
include
:
shuttle-modprobe.yml
-
name
:
Increase ulimit
shell
:
echo "TODO"
copy
:
src="slapos_limit.conf" dest="/etc/security/limits.d/slapos.conf" mode=0644 owner=root group=root
-
name
:
Set Cron
cron
:
name="Launch Startup with ansible" special_time=reboot job='cd /opt/upgrader/playbook && ansible-playbook vifib-startup.yml -i hosts 2>>/opt/upgrader/startup.log >> /opt/upgrader/startup.log'
...
...
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