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: