Make address configurable

This commit is contained in:
phil 2023-09-27 18:32:19 +02:00
parent b66ab71996
commit c8847ee6a0
2 changed files with 4 additions and 2 deletions

View file

@ -5,3 +5,5 @@ onlyoffice_db_name: onlyoffice
onlyoffice_ds_port: 80
database_host: "{{ onlyoffice_db_host }}"
rabbitmq_listen_address: "127.0.0.1"

View file

@ -51,8 +51,8 @@
- onlyoffice-documentserver
- ttf-mscorefonts-installer
- name: "Install | Bind RabbitMQ only to localhost"
- name: "Install | Bind RabbitMQ only to IP address"
ansible.builtin.lineinfile:
path: /etc/rabbitmq/rabbitmq-env.conf
line: NODE_IP_ADDRESS=127.0.0.1
line: "NODE_IP_ADDRESS={{ rabbitmq_listen_address }}"
notify: Restart RabbitMQ