Skip to content

Commit

Permalink
fix(robustness): use loopbackip instead of localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Aug 31, 2021
1 parent 3297120 commit f5b1e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rabbitmq/config/plugins/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5b1e97

Please sign in to comment.