added open file limits to rabbitmq

This commit is contained in:
Kevin Carter 2014-09-27 11:49:55 -05:00
parent 5670d85efd
commit d0fcbd6219
2 changed files with 7 additions and 2 deletions

View File

@ -67,8 +67,11 @@
- name: Create rabbitmq config
template:
src: rabbitmq.config
dest: /etc/rabbitmq/rabbitmq.config
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- { src: "rabbitmq.config", dest: "/etc/rabbitmq/rabbitmq.config" }
- { src: "rabbitmq-server", dest: "/etc/default/rabbitmq-server" }
tags:
- rabbit_config

View File

@ -0,0 +1,2 @@
# Sets open file limit for RabbitMQ
ulimit -n 4096