Bind RabbitMQ to localhost only

This commit is contained in:
phil 2023-09-27 18:30:55 +02:00
parent 8197ae84b9
commit b66ab71996
2 changed files with 12 additions and 0 deletions

5
handlers/main.yml Normal file
View file

@ -0,0 +1,5 @@
---
- name: Restart RabbitMQ
ansible.builtin.service:
name: rabbitmq-server
state: restarted

View file

@ -19,6 +19,7 @@
question: "onlyoffice/{{ item.question }}"
value: "{{ item.value }}"
vtype: "{{ item.vtype }}"
no_log: true
loop:
- question: db-host
value: "{{ onlyoffice_db_host }}"
@ -49,3 +50,9 @@
- rabbitmq-server
- onlyoffice-documentserver
- ttf-mscorefonts-installer
- name: "Install | Bind RabbitMQ only to localhost"
ansible.builtin.lineinfile:
path: /etc/rabbitmq/rabbitmq-env.conf
line: NODE_IP_ADDRESS=127.0.0.1
notify: Restart RabbitMQ