Bind RabbitMQ to localhost only
This commit is contained in:
parent
8197ae84b9
commit
b66ab71996
2 changed files with 12 additions and 0 deletions
5
handlers/main.yml
Normal file
5
handlers/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: Restart RabbitMQ
|
||||||
|
ansible.builtin.service:
|
||||||
|
name: rabbitmq-server
|
||||||
|
state: restarted
|
|
@ -19,6 +19,7 @@
|
||||||
question: "onlyoffice/{{ item.question }}"
|
question: "onlyoffice/{{ item.question }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
vtype: "{{ item.vtype }}"
|
vtype: "{{ item.vtype }}"
|
||||||
|
no_log: true
|
||||||
loop:
|
loop:
|
||||||
- question: db-host
|
- question: db-host
|
||||||
value: "{{ onlyoffice_db_host }}"
|
value: "{{ onlyoffice_db_host }}"
|
||||||
|
@ -49,3 +50,9 @@
|
||||||
- rabbitmq-server
|
- rabbitmq-server
|
||||||
- onlyoffice-documentserver
|
- onlyoffice-documentserver
|
||||||
- ttf-mscorefonts-installer
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue