diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index 531dede028..1a95cfd47e 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -127,6 +127,20 @@ valid_interfaces = internal cafile = {{ openstack_cacert }} {% endif %} +{% if enable_swift | bool %} +[swift] +auth_url = {{ keystone_admin_url }} +auth_type = password +project_domain_id = {{ default_project_domain_id }} +user_domain_id = {{ default_user_domain_id }} +project_name = service +username = {{ ironic_keystone_user }} +password = {{ ironic_keystone_password }} +region_name = {{ openstack_region_name }} +valid_interfaces = internal +cafile = {{ openstack_cacert }} +{% endif %} + [inspector] {% if enable_keystone | bool %} auth_url = {{ keystone_admin_url }} diff --git a/releasenotes/notes/ironic-swift-f5ee8ee54ebcde08.yaml b/releasenotes/notes/ironic-swift-f5ee8ee54ebcde08.yaml new file mode 100644 index 0000000000..ab1711aa6a --- /dev/null +++ b/releasenotes/notes/ironic-swift-f5ee8ee54ebcde08.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add Object Storage service (Swift) support for Ironic.