rabbitmq: add rabbitmq_datadir_volume parameter
With the parameter rabbitmq_datadir_volume it is possible to use a directory as volume for the rabbitmq service. By default, a volume named rabbitmq is used (the previous default). Change-Id: I99d6bd71ca79cba81062dedfb767c5ed341bb182
This commit is contained in:
parent
308089bb64
commit
a78127414c
@ -819,6 +819,7 @@ outward_rabbitmq_user: "openstack"
|
|||||||
rabbitmq_enable_tls: "no"
|
rabbitmq_enable_tls: "no"
|
||||||
# CA certificate bundle in RabbitMQ container.
|
# CA certificate bundle in RabbitMQ container.
|
||||||
rabbitmq_cacert: "/etc/ssl/certs/{{ 'ca-certificates.crt' if kolla_base_distro in ['debian', 'ubuntu'] else 'ca-bundle.trust.crt' }}"
|
rabbitmq_cacert: "/etc/ssl/certs/{{ 'ca-certificates.crt' if kolla_base_distro in ['debian', 'ubuntu'] else 'ca-bundle.trust.crt' }}"
|
||||||
|
rabbitmq_datadir_volume: "rabbitmq"
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# HAProxy options
|
# HAProxy options
|
||||||
|
@ -71,7 +71,7 @@ rabbitmq_default_volumes:
|
|||||||
- "{{ node_config_directory }}/{{ project_name }}/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/{{ project_name }}/:{{ container_config_directory }}/:ro"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
||||||
- "{{ project_name }}:/var/lib/rabbitmq/"
|
- "{{ rabbitmq_datadir_volume }}:/var/lib/rabbitmq/"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
rabbitmq_extra_volumes: "{{ default_extra_volumes }}"
|
rabbitmq_extra_volumes: "{{ default_extra_volumes }}"
|
||||||
|
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
With the parameter ``rabbitmq_datadir_volume`` it is possible
|
||||||
|
to use a directory as volume for the rabbitmq service. By default,
|
||||||
|
a volume named rabbitmq is used (the previous default).
|
Loading…
Reference in New Issue
Block a user