Commit f1e06894 authored by Łukasz Nowak's avatar Łukasz Nowak

playbook: Setup limits

For now nofile hard limit is set to 1048576.

/reviewed-on !104
parent 0e51aaef
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
- include: shuttle-modprobe.yml - include: shuttle-modprobe.yml
- name: Increase ulimit - 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 - 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' 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'
......
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