Make address configurable
This commit is contained in:
parent
b66ab71996
commit
c8847ee6a0
2 changed files with 4 additions and 2 deletions
|
@ -5,3 +5,5 @@ onlyoffice_db_name: onlyoffice
|
||||||
onlyoffice_ds_port: 80
|
onlyoffice_ds_port: 80
|
||||||
|
|
||||||
database_host: "{{ onlyoffice_db_host }}"
|
database_host: "{{ onlyoffice_db_host }}"
|
||||||
|
|
||||||
|
rabbitmq_listen_address: "127.0.0.1"
|
||||||
|
|
|
@ -51,8 +51,8 @@
|
||||||
- onlyoffice-documentserver
|
- onlyoffice-documentserver
|
||||||
- ttf-mscorefonts-installer
|
- ttf-mscorefonts-installer
|
||||||
|
|
||||||
- name: "Install | Bind RabbitMQ only to localhost"
|
- name: "Install | Bind RabbitMQ only to IP address"
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/rabbitmq/rabbitmq-env.conf
|
path: /etc/rabbitmq/rabbitmq-env.conf
|
||||||
line: NODE_IP_ADDRESS=127.0.0.1
|
line: "NODE_IP_ADDRESS={{ rabbitmq_listen_address }}"
|
||||||
notify: Restart RabbitMQ
|
notify: Restart RabbitMQ
|
||||||
|
|
Loading…
Reference in a new issue