diff --git a/ansible/roles/kolla-openstack/defaults/main.yml b/ansible/roles/kolla-openstack/defaults/main.yml index 2214ff240..ae90e4223 100644 --- a/ansible/roles/kolla-openstack/defaults/main.yml +++ b/ansible/roles/kolla-openstack/defaults/main.yml @@ -5,6 +5,12 @@ kolla_extra_config_path: # Directory where Kolla custom configuration files will be installed. kolla_node_custom_config_path: /etc/kolla/config +############################################################################### +# Barbican configuration. + +# Whether to enable Barbican. +kolla_enable_barbican: + ############################################################################### # ceph configuration. diff --git a/ansible/roles/kolla-openstack/vars/main.yml b/ansible/roles/kolla-openstack/vars/main.yml index 90516962a..953612747 100644 --- a/ansible/roles/kolla-openstack/vars/main.yml +++ b/ansible/roles/kolla-openstack/vars/main.yml @@ -9,6 +9,11 @@ # the destination, and will not be removed from the destination, even # if disabled or unexpected. kolla_openstack_custom_config: + # Barbican. + - src: "{{ kolla_extra_config_path }}/barbican" + dest: "{{ kolla_node_custom_config_path }}/barbican" + patterns: "*" + enabled: "{{ kolla_enable_barbican }}" # Ceph. - src: "{{ kolla_extra_config_path }}/ceph" dest: "{{ kolla_node_custom_config_path }}/ceph" diff --git a/releasenotes/notes/add_support_for_custom_barbican_conf-b94272d73d53aa87.yaml b/releasenotes/notes/add_support_for_custom_barbican_conf-b94272d73d53aa87.yaml new file mode 100644 index 000000000..dc74d6ca9 --- /dev/null +++ b/releasenotes/notes/add_support_for_custom_barbican_conf-b94272d73d53aa87.yaml @@ -0,0 +1,3 @@ +--- +features: + - Adds support for custom Barbican configuration.