From f5b1e97067a7b77396bc46bd1901cf186a5ab022 Mon Sep 17 00:00:00 2001 From: noelmcloughlin Date: Tue, 31 Aug 2021 11:10:41 +0100 Subject: [PATCH] fix(robustness): use loopbackip instead of localhost --- rabbitmq/config/plugins/install.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rabbitmq/config/plugins/install.sls b/rabbitmq/config/plugins/install.sls index e71666fb..49b84312 100644 --- a/rabbitmq/config/plugins/install.sls +++ b/rabbitmq/config/plugins/install.sls @@ -26,7 +26,7 @@ rabbitmq-config-plugins-enabled-{{ name }}-{{ plugin }}: rabbitmq-config-plugins-{{ name }}-rabbitmqadmin-install: cmd.run: - - name : curl -k -L http://localhost:15672/cli/rabbitmqadmin -o /usr/local/sbin/rabbitmqadmin + - name : curl -k -L http://127.0.0.1:15672/cli/rabbitmqadmin -o /usr/local/sbin/rabbitmqadmin - unless: test -x /usr/local/sbin/rabbitmqadmin - onlyif: /usr/sbin/rabbitmq-plugins --node {{ name }} is_enabled rabbitmq_management - require: