aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2015-11-12 10:46:10 -0500
committerRyan Hallisey <rhallise@redhat.com>2015-11-12 11:38:17 -0500
commit22def41d37d8046541b25fca1fe806090bf14638 (patch)
treea1a9bd9fac5c40126169a7c5908ead3aa50e677b /ansible
parent55e4b54e23e96f0baae0fc49817a25152843d36c (diff)
downloadkolla-22def41d37d8046541b25fca1fe806090bf14638.tar.gz
kolla-22def41d37d8046541b25fca1fe806090bf14638.zip
Drop root privileges for rabbitmq
Drop root privileges for rabbitmq. Only the rabbitmq user will be able to execute chown of /var/lib/rabbitmq. Change-Id: I546e6b475a8462bfbc75972854e1fee64f96d9cb Partially-Implements: blueprint drop-root
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/rabbitmq/templates/rabbitmq.json.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/rabbitmq/templates/rabbitmq.json.j2 b/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
index 8eb38dc37..82d7ad0bb 100644
--- a/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
+++ b/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
@@ -1,5 +1,5 @@
{
- "command": "sudo -H -u rabbitmq /usr/sbin/rabbitmq-server",
+ "command": "/usr/sbin/rabbitmq-server",
"config_files": [
{
"source": "{{ container_config_directory }}/rabbitmq-env.conf",