Fix the rabbitmq-limits validations

The validation fails because the rabbitmqctl command needs to be run as
root. This adds "become: true" to the task to fix it.

Change-Id: I565119bcfd27460cda1992d8922eba500a5db157
Closes-Bug: #1637260
This commit is contained in:
Tomas Sedovic 2016-10-27 18:31:38 +02:00
parent 40aaac9026
commit ea7aed4af2
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
min_fd_limit: 16384
tasks:
- name: Get file_descriptors total_limit
become: true
register: actual_fd_limit
command: "rabbitmqctl eval 'proplists:get_value(max_fds, erlang:system_info(check_io)).'"
changed_when: false