From 35597224b1f6682e69f99078ec22dd93116a6ccf Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 16 Sep 2025 10:25:56 +0100 Subject: [PATCH 1/5] Adds variables for setting OpenStack region to all resources --- roles/os_container_clusters/README.md | 2 ++ roles/os_container_clusters/tasks/main.yml | 1 + roles/os_deploy_templates/README.md | 2 ++ roles/os_deploy_templates/tasks/deploy_templates.yml | 1 + roles/os_flavors/README.md | 2 ++ roles/os_flavors/tasks/flavors.yml | 2 ++ roles/os_host_aggregates/README.md | 2 ++ roles/os_host_aggregates/tasks/host-aggregates.yml | 1 + roles/os_images/README.md | 2 ++ roles/os_images/tasks/promote.yml | 1 + roles/os_images/tasks/upload.yml | 6 ++++++ roles/os_networks/README.md | 2 ++ roles/os_networks/tasks/networks.yml | 6 ++++++ roles/os_networks/tasks/rbac.yml | 4 ++++ roles/os_networks/tasks/router_workaround.yml | 2 ++ roles/os_projects/README.md | 2 ++ roles/os_projects/tasks/projects.yml | 4 ++++ roles/os_projects/tasks/users.yml | 3 +++ roles/os_volumes/tasks/volumes.yml | 1 + 19 files changed, 46 insertions(+) diff --git a/roles/os_container_clusters/README.md b/roles/os_container_clusters/README.md index ee69dd8..17b47ea 100644 --- a/roles/os_container_clusters/README.md +++ b/roles/os_container_clusters/README.md @@ -21,6 +21,8 @@ virtualenv. `os_container_clusters_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_container_clusters_region_name` is an optional name of an OpenStack region. + `os_container_clusters_cacert` is an optional path to a CA certificate bundle. `os_container_clusters_templates` is a list of Magnum container cluster diff --git a/roles/os_container_clusters/tasks/main.yml b/roles/os_container_clusters/tasks/main.yml index c5bec09..54bda98 100644 --- a/roles/os_container_clusters/tasks/main.yml +++ b/roles/os_container_clusters/tasks/main.yml @@ -15,6 +15,7 @@ ansible_python_interpreter: "{{ os_container_clusters_venv ~ '/bin/python' if os_container_clusters_venv != None else old_ansible_python_interpreter }}" openstack.cloud.coe_cluster_template: auth: "{{ os_container_clusters_auth }}" + region_name: "{{ os_container_clusters_region_name | default(omit) }}" auth_type: "{{ os_container_clusters_auth_type }}" cacert: "{{ os_container_clusters_cacert | default(omit) }}" interface: "{{ os_container_clusters_interface | default(omit, true) }}" diff --git a/roles/os_deploy_templates/README.md b/roles/os_deploy_templates/README.md index 0455b7c..82f8242 100644 --- a/roles/os_deploy_templates/README.md +++ b/roles/os_deploy_templates/README.md @@ -27,6 +27,8 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_deploy_templates_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_deploy_templates_region_name` is an optional name of an OpenStack region. + `os_deploy_templates_cacert` is an optional path to a CA certificate bundle. `os_deploy_templates_interface` is the endpoint URL type to fetch from the service diff --git a/roles/os_deploy_templates/tasks/deploy_templates.yml b/roles/os_deploy_templates/tasks/deploy_templates.yml index 8037d8c..b733256 100644 --- a/roles/os_deploy_templates/tasks/deploy_templates.yml +++ b/roles/os_deploy_templates/tasks/deploy_templates.yml @@ -3,6 +3,7 @@ openstack.cloud.baremetal_deploy_template: auth_type: "{{ os_deploy_templates_auth_type }}" auth: "{{ os_deploy_templates_auth }}" + region_name: "{{ os_deploy_templates_region_name | default(omit) }}" cacert: "{{ os_deploy_templates_cacert | default(omit) }}" interface: "{{ os_deploy_templates_interface | default(omit, true) }}" name: "{{ item.name | default(omit) }}" diff --git a/roles/os_flavors/README.md b/roles/os_flavors/README.md index c469af2..ec4ac4f 100644 --- a/roles/os_flavors/README.md +++ b/roles/os_flavors/README.md @@ -21,6 +21,8 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_flavors_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_flavors_region_name` is an optional name of an OpenStack region. + `os_flavors_cacert` is an optional path to a CA certificate bundle. `os_flavors_interface` is the endpoint URL type to fetch from the service diff --git a/roles/os_flavors/tasks/flavors.yml b/roles/os_flavors/tasks/flavors.yml index b7d1765..dbf87d4 100644 --- a/roles/os_flavors/tasks/flavors.yml +++ b/roles/os_flavors/tasks/flavors.yml @@ -3,6 +3,7 @@ openstack.cloud.compute_flavor: auth_type: "{{ os_flavors_auth_type }}" auth: "{{ os_flavors_auth }}" + region_name: "{{ os_flavors_region_name | default(omit) }}" cacert: "{{ os_flavors_cacert | default(omit) }}" interface: "{{ os_flavors_interface | default(omit, true) }}" name: "{{ item.name }}" @@ -22,6 +23,7 @@ openstack.cloud.compute_flavor_access: auth_type: "{{ os_flavors_auth_type }}" auth: "{{ os_flavors_auth }}" + region_name: "{{ os_flavors_region_name | default(omit) }}" cacert: "{{ os_flavors_cacert | default(omit) }}" interface: "{{ os_flavors_interface | default(omit, true) }}" name: "{{ item.0.name }}" diff --git a/roles/os_host_aggregates/README.md b/roles/os_host_aggregates/README.md index 5f9cbfe..6b9f762 100644 --- a/roles/os_host_aggregates/README.md +++ b/roles/os_host_aggregates/README.md @@ -21,6 +21,8 @@ virtualenv. `os_host_aggregates_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_host_aggregates_region_name` is an optional name of an OpenStack region. + `os_host_aggregates_cacert` is an optional path to a CA certificate bundle. `os_host_aggregates_interface` is the endpoint URL type to fetch from the diff --git a/roles/os_host_aggregates/tasks/host-aggregates.yml b/roles/os_host_aggregates/tasks/host-aggregates.yml index ecb85d9..a148c98 100644 --- a/roles/os_host_aggregates/tasks/host-aggregates.yml +++ b/roles/os_host_aggregates/tasks/host-aggregates.yml @@ -3,6 +3,7 @@ openstack.cloud.host_aggregate: auth_type: "{{ os_host_aggregates_auth_type }}" auth: "{{ os_host_aggregates_auth }}" + region_name: "{{ os_host_aggregates_region_name | default(omit) }}" cacert: "{{ os_host_aggregates_cacert | default(omit) }}" interface: "{{ os_host_aggregates_interface | default(omit, true) }}" name: "{{ item.name }}" diff --git a/roles/os_images/README.md b/roles/os_images/README.md index 1f956f0..b650b75 100644 --- a/roles/os_images/README.md +++ b/roles/os_images/README.md @@ -46,6 +46,8 @@ example, a dict of the form: `os_images_region`: Define a region to upload the images. Default is None. +`os_images_region_name` is an optional name of an OpenStack region. + `os_images_cacert` is an optional path to a CA certificate bundle. `os_images_interface` is the endpoint URL type to fetch from the service diff --git a/roles/os_images/tasks/promote.yml b/roles/os_images/tasks/promote.yml index 2fe9cb4..e4d46ac 100644 --- a/roles/os_images/tasks/promote.yml +++ b/roles/os_images/tasks/promote.yml @@ -8,6 +8,7 @@ openstack.cloud.image_info: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" diff --git a/roles/os_images/tasks/upload.yml b/roles/os_images/tasks/upload.yml index b8a0e56..a3e19c4 100644 --- a/roles/os_images/tasks/upload.yml +++ b/roles/os_images/tasks/upload.yml @@ -3,6 +3,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -21,6 +22,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -44,6 +46,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -62,6 +65,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -85,6 +89,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -100,6 +105,7 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" + region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" diff --git a/roles/os_networks/README.md b/roles/os_networks/README.md index caa44b6..a47d5e1 100644 --- a/roles/os_networks/README.md +++ b/roles/os_networks/README.md @@ -21,6 +21,8 @@ Role Variables `os_networks_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_networks_region_name` is an optional name of an OpenStack region. + `os_networks_cacert` is an optional path to a CA certificate bundle. `os_networks_cloud` is an optional name of a cloud in `clouds.yaml`. diff --git a/roles/os_networks/tasks/networks.yml b/roles/os_networks/tasks/networks.yml index 8b314a7..5d341a4 100644 --- a/roles/os_networks/tasks/networks.yml +++ b/roles/os_networks/tasks/networks.yml @@ -3,6 +3,7 @@ openstack.cloud.router: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -16,6 +17,7 @@ openstack.cloud.network: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -36,6 +38,7 @@ openstack.cloud.subnet: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -72,6 +75,7 @@ # openstack.cloud.router: # auth_type: "{{ os_networks_auth_type }}" # auth: "{{ os_networks_auth }}" +# region_name: "{{ os_networks_region_name | default(omit) }}" # cacert: "{{ os_networks_cacert | default(omit) }}" # cloud: "{{ os_networks_cloud | default(omit) }}" # interface: "{{ os_networks_interface | default(omit, true) }}" @@ -100,6 +104,7 @@ openstack.cloud.security_group: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -114,6 +119,7 @@ openstack.cloud.security_group_rule: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_networks/tasks/rbac.yml b/roles/os_networks/tasks/rbac.yml index 473e643..78a7b98 100644 --- a/roles/os_networks/tasks/rbac.yml +++ b/roles/os_networks/tasks/rbac.yml @@ -7,6 +7,7 @@ openstack.cloud.networks_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -26,6 +27,7 @@ openstack.cloud.project_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -41,6 +43,7 @@ openstack.cloud.project_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -59,6 +62,7 @@ openstack.cloud.neutron_rbac_policy: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_networks/tasks/router_workaround.yml b/roles/os_networks/tasks/router_workaround.yml index 84f1a5a..20b6387 100644 --- a/roles/os_networks/tasks/router_workaround.yml +++ b/roles/os_networks/tasks/router_workaround.yml @@ -12,6 +12,7 @@ name: "{{ item.network }}" auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -22,6 +23,7 @@ openstack.cloud.router: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" + region_name: "{{ os_networks_region_name | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_projects/README.md b/roles/os_projects/README.md index feb0b3b..36b1869 100644 --- a/roles/os_projects/README.md +++ b/roles/os_projects/README.md @@ -21,6 +21,8 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_projects_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_projects_region_name` is an optional name of an OpenStack region. + `os_projects_cacert` is an optional path to a CA certificate bundle. `os_projects_cloud` is an optional name of a cloud in `clouds.yaml`. diff --git a/roles/os_projects/tasks/projects.yml b/roles/os_projects/tasks/projects.yml index e768377..da5a9f7 100644 --- a/roles/os_projects/tasks/projects.yml +++ b/roles/os_projects/tasks/projects.yml @@ -3,6 +3,7 @@ openstack.cloud.identity_domain: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -85,6 +86,7 @@ openstack.cloud.project: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -105,6 +107,7 @@ openstack.cloud.identity_role: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -173,6 +176,7 @@ openstack.cloud.quota: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" diff --git a/roles/os_projects/tasks/users.yml b/roles/os_projects/tasks/users.yml index f090f25..0c23b9e 100644 --- a/roles/os_projects/tasks/users.yml +++ b/roles/os_projects/tasks/users.yml @@ -3,6 +3,7 @@ openstack.cloud.identity_user: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -26,6 +27,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -45,6 +47,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" + region_name: "{{ os_projects_admin_region_name | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" diff --git a/roles/os_volumes/tasks/volumes.yml b/roles/os_volumes/tasks/volumes.yml index f07aeba..bdbe4f7 100644 --- a/roles/os_volumes/tasks/volumes.yml +++ b/roles/os_volumes/tasks/volumes.yml @@ -46,6 +46,7 @@ openstack.cloud.volume: auth_type: "{{ os_volumes_auth_type }}" auth: "{{ os_volumes_auth }}" + region_name: "{{ os_volumes_region_name | default(omit) }}" display_name: "{{ item.display_name }}" display_description: "{{ item.display_description | default(omit) }}" image: "{{ item.image | default(omit) }}" From 24c3735ee6b93a014e7a93c83b0318c66c0815e6 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 16 Sep 2025 10:32:10 +0100 Subject: [PATCH 2/5] Remove duplicated variable --- roles/os_images/README.md | 2 -- roles/os_images/tasks/promote.yml | 1 - roles/os_images/tasks/upload.yml | 6 ------ 3 files changed, 9 deletions(-) diff --git a/roles/os_images/README.md b/roles/os_images/README.md index b650b75..1f956f0 100644 --- a/roles/os_images/README.md +++ b/roles/os_images/README.md @@ -46,8 +46,6 @@ example, a dict of the form: `os_images_region`: Define a region to upload the images. Default is None. -`os_images_region_name` is an optional name of an OpenStack region. - `os_images_cacert` is an optional path to a CA certificate bundle. `os_images_interface` is the endpoint URL type to fetch from the service diff --git a/roles/os_images/tasks/promote.yml b/roles/os_images/tasks/promote.yml index e4d46ac..2fe9cb4 100644 --- a/roles/os_images/tasks/promote.yml +++ b/roles/os_images/tasks/promote.yml @@ -8,7 +8,6 @@ openstack.cloud.image_info: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" diff --git a/roles/os_images/tasks/upload.yml b/roles/os_images/tasks/upload.yml index a3e19c4..b8a0e56 100644 --- a/roles/os_images/tasks/upload.yml +++ b/roles/os_images/tasks/upload.yml @@ -3,7 +3,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -22,7 +21,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -46,7 +44,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -65,7 +62,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -89,7 +85,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" @@ -105,7 +100,6 @@ openstack.cloud.image: auth_type: "{{ os_images_auth_type }}" auth: "{{ os_images_auth }}" - region_name: "{{ os_images_region_name | default(omit) }}" cacert: "{{ os_images_cacert | default(omit) }}" interface: "{{ os_images_interface | default(omit, true) }}" region_name: "{{ os_images_region | default(omit) }}" From af957c647b1bf93265cf7ea716c8068ac6b26033 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 16 Sep 2025 10:34:31 +0100 Subject: [PATCH 3/5] Align with naming in os_images os_images using os_images_region and not region_name. --- roles/os_container_clusters/README.md | 2 +- roles/os_container_clusters/tasks/main.yml | 2 +- roles/os_deploy_templates/README.md | 2 +- roles/os_deploy_templates/tasks/deploy_templates.yml | 2 +- roles/os_flavors/README.md | 2 +- roles/os_flavors/tasks/flavors.yml | 4 ++-- roles/os_host_aggregates/README.md | 2 +- roles/os_host_aggregates/tasks/host-aggregates.yml | 2 +- roles/os_networks/README.md | 2 +- roles/os_networks/tasks/networks.yml | 12 ++++++------ roles/os_networks/tasks/rbac.yml | 8 ++++---- roles/os_networks/tasks/router_workaround.yml | 4 ++-- roles/os_projects/README.md | 2 +- roles/os_projects/tasks/projects.yml | 8 ++++---- roles/os_projects/tasks/users.yml | 6 +++--- roles/os_volumes/tasks/volumes.yml | 2 +- 16 files changed, 31 insertions(+), 31 deletions(-) diff --git a/roles/os_container_clusters/README.md b/roles/os_container_clusters/README.md index 17b47ea..f3adead 100644 --- a/roles/os_container_clusters/README.md +++ b/roles/os_container_clusters/README.md @@ -21,7 +21,7 @@ virtualenv. `os_container_clusters_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_container_clusters_region_name` is an optional name of an OpenStack region. +`os_container_clusters_region` is an optional name of an OpenStack region. `os_container_clusters_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_container_clusters/tasks/main.yml b/roles/os_container_clusters/tasks/main.yml index 54bda98..33b81da 100644 --- a/roles/os_container_clusters/tasks/main.yml +++ b/roles/os_container_clusters/tasks/main.yml @@ -15,7 +15,7 @@ ansible_python_interpreter: "{{ os_container_clusters_venv ~ '/bin/python' if os_container_clusters_venv != None else old_ansible_python_interpreter }}" openstack.cloud.coe_cluster_template: auth: "{{ os_container_clusters_auth }}" - region_name: "{{ os_container_clusters_region_name | default(omit) }}" + region_name: "{{ os_container_clusters_region | default(omit) }}" auth_type: "{{ os_container_clusters_auth_type }}" cacert: "{{ os_container_clusters_cacert | default(omit) }}" interface: "{{ os_container_clusters_interface | default(omit, true) }}" diff --git a/roles/os_deploy_templates/README.md b/roles/os_deploy_templates/README.md index 82f8242..54659d7 100644 --- a/roles/os_deploy_templates/README.md +++ b/roles/os_deploy_templates/README.md @@ -27,7 +27,7 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_deploy_templates_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_deploy_templates_region_name` is an optional name of an OpenStack region. +`os_deploy_templates_region` is an optional name of an OpenStack region. `os_deploy_templates_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_deploy_templates/tasks/deploy_templates.yml b/roles/os_deploy_templates/tasks/deploy_templates.yml index b733256..a05bd05 100644 --- a/roles/os_deploy_templates/tasks/deploy_templates.yml +++ b/roles/os_deploy_templates/tasks/deploy_templates.yml @@ -3,7 +3,7 @@ openstack.cloud.baremetal_deploy_template: auth_type: "{{ os_deploy_templates_auth_type }}" auth: "{{ os_deploy_templates_auth }}" - region_name: "{{ os_deploy_templates_region_name | default(omit) }}" + region_name: "{{ os_deploy_templates_region | default(omit) }}" cacert: "{{ os_deploy_templates_cacert | default(omit) }}" interface: "{{ os_deploy_templates_interface | default(omit, true) }}" name: "{{ item.name | default(omit) }}" diff --git a/roles/os_flavors/README.md b/roles/os_flavors/README.md index ec4ac4f..064ac4b 100644 --- a/roles/os_flavors/README.md +++ b/roles/os_flavors/README.md @@ -21,7 +21,7 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_flavors_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_flavors_region_name` is an optional name of an OpenStack region. +`os_flavors_region` is an optional name of an OpenStack region. `os_flavors_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_flavors/tasks/flavors.yml b/roles/os_flavors/tasks/flavors.yml index dbf87d4..0d6ad28 100644 --- a/roles/os_flavors/tasks/flavors.yml +++ b/roles/os_flavors/tasks/flavors.yml @@ -3,7 +3,7 @@ openstack.cloud.compute_flavor: auth_type: "{{ os_flavors_auth_type }}" auth: "{{ os_flavors_auth }}" - region_name: "{{ os_flavors_region_name | default(omit) }}" + region_name: "{{ os_flavors_region | default(omit) }}" cacert: "{{ os_flavors_cacert | default(omit) }}" interface: "{{ os_flavors_interface | default(omit, true) }}" name: "{{ item.name }}" @@ -23,7 +23,7 @@ openstack.cloud.compute_flavor_access: auth_type: "{{ os_flavors_auth_type }}" auth: "{{ os_flavors_auth }}" - region_name: "{{ os_flavors_region_name | default(omit) }}" + region_name: "{{ os_flavors_region | default(omit) }}" cacert: "{{ os_flavors_cacert | default(omit) }}" interface: "{{ os_flavors_interface | default(omit, true) }}" name: "{{ item.0.name }}" diff --git a/roles/os_host_aggregates/README.md b/roles/os_host_aggregates/README.md index 6b9f762..e0b6a08 100644 --- a/roles/os_host_aggregates/README.md +++ b/roles/os_host_aggregates/README.md @@ -21,7 +21,7 @@ virtualenv. `os_host_aggregates_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_host_aggregates_region_name` is an optional name of an OpenStack region. +`os_host_aggregates_region` is an optional name of an OpenStack region. `os_host_aggregates_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_host_aggregates/tasks/host-aggregates.yml b/roles/os_host_aggregates/tasks/host-aggregates.yml index a148c98..613864a 100644 --- a/roles/os_host_aggregates/tasks/host-aggregates.yml +++ b/roles/os_host_aggregates/tasks/host-aggregates.yml @@ -3,7 +3,7 @@ openstack.cloud.host_aggregate: auth_type: "{{ os_host_aggregates_auth_type }}" auth: "{{ os_host_aggregates_auth }}" - region_name: "{{ os_host_aggregates_region_name | default(omit) }}" + region_name: "{{ os_host_aggregates_region | default(omit) }}" cacert: "{{ os_host_aggregates_cacert | default(omit) }}" interface: "{{ os_host_aggregates_interface | default(omit, true) }}" name: "{{ item.name }}" diff --git a/roles/os_networks/README.md b/roles/os_networks/README.md index a47d5e1..8ad07e0 100644 --- a/roles/os_networks/README.md +++ b/roles/os_networks/README.md @@ -21,7 +21,7 @@ Role Variables `os_networks_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_networks_region_name` is an optional name of an OpenStack region. +`os_networks_region` is an optional name of an OpenStack region. `os_networks_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_networks/tasks/networks.yml b/roles/os_networks/tasks/networks.yml index 5d341a4..b9b45ea 100644 --- a/roles/os_networks/tasks/networks.yml +++ b/roles/os_networks/tasks/networks.yml @@ -3,7 +3,7 @@ openstack.cloud.router: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -17,7 +17,7 @@ openstack.cloud.network: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -38,7 +38,7 @@ openstack.cloud.subnet: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -75,7 +75,7 @@ # openstack.cloud.router: # auth_type: "{{ os_networks_auth_type }}" # auth: "{{ os_networks_auth }}" -# region_name: "{{ os_networks_region_name | default(omit) }}" +# region_name: "{{ os_networks_region | default(omit) }}" # cacert: "{{ os_networks_cacert | default(omit) }}" # cloud: "{{ os_networks_cloud | default(omit) }}" # interface: "{{ os_networks_interface | default(omit, true) }}" @@ -104,7 +104,7 @@ openstack.cloud.security_group: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -119,7 +119,7 @@ openstack.cloud.security_group_rule: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_networks/tasks/rbac.yml b/roles/os_networks/tasks/rbac.yml index 78a7b98..404380e 100644 --- a/roles/os_networks/tasks/rbac.yml +++ b/roles/os_networks/tasks/rbac.yml @@ -7,7 +7,7 @@ openstack.cloud.networks_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -27,7 +27,7 @@ openstack.cloud.project_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -43,7 +43,7 @@ openstack.cloud.project_info: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -62,7 +62,7 @@ openstack.cloud.neutron_rbac_policy: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_networks/tasks/router_workaround.yml b/roles/os_networks/tasks/router_workaround.yml index 20b6387..4fbf718 100644 --- a/roles/os_networks/tasks/router_workaround.yml +++ b/roles/os_networks/tasks/router_workaround.yml @@ -12,7 +12,7 @@ name: "{{ item.network }}" auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" @@ -23,7 +23,7 @@ openstack.cloud.router: auth_type: "{{ os_networks_auth_type }}" auth: "{{ os_networks_auth }}" - region_name: "{{ os_networks_region_name | default(omit) }}" + region_name: "{{ os_networks_region | default(omit) }}" cacert: "{{ os_networks_cacert | default(omit) }}" cloud: "{{ os_networks_cloud | default(omit) }}" interface: "{{ os_networks_interface | default(omit, true) }}" diff --git a/roles/os_projects/README.md b/roles/os_projects/README.md index 36b1869..a440bc0 100644 --- a/roles/os_projects/README.md +++ b/roles/os_projects/README.md @@ -21,7 +21,7 @@ the `auth_type` argument of `openstack.cloud` Ansible modules. `os_projects_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. -`os_projects_region_name` is an optional name of an OpenStack region. +`os_projects_region` is an optional name of an OpenStack region. `os_projects_cacert` is an optional path to a CA certificate bundle. diff --git a/roles/os_projects/tasks/projects.yml b/roles/os_projects/tasks/projects.yml index da5a9f7..325cc6d 100644 --- a/roles/os_projects/tasks/projects.yml +++ b/roles/os_projects/tasks/projects.yml @@ -3,7 +3,7 @@ openstack.cloud.identity_domain: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -86,7 +86,7 @@ openstack.cloud.project: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -107,7 +107,7 @@ openstack.cloud.identity_role: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -176,7 +176,7 @@ openstack.cloud.quota: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" diff --git a/roles/os_projects/tasks/users.yml b/roles/os_projects/tasks/users.yml index 0c23b9e..8c8641a 100644 --- a/roles/os_projects/tasks/users.yml +++ b/roles/os_projects/tasks/users.yml @@ -3,7 +3,7 @@ openstack.cloud.identity_user: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -27,7 +27,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -47,7 +47,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region_name | default(omit) }}" + region_name: "{{ os_projects_admin_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" diff --git a/roles/os_volumes/tasks/volumes.yml b/roles/os_volumes/tasks/volumes.yml index bdbe4f7..56edad6 100644 --- a/roles/os_volumes/tasks/volumes.yml +++ b/roles/os_volumes/tasks/volumes.yml @@ -46,7 +46,7 @@ openstack.cloud.volume: auth_type: "{{ os_volumes_auth_type }}" auth: "{{ os_volumes_auth }}" - region_name: "{{ os_volumes_region_name | default(omit) }}" + region_name: "{{ os_volumes_region | default(omit) }}" display_name: "{{ item.display_name }}" display_description: "{{ item.display_description | default(omit) }}" image: "{{ item.image | default(omit) }}" From 901fe6ab630da510febcb54ea6680ff636f7fa60 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 16 Sep 2025 10:38:23 +0100 Subject: [PATCH 4/5] Correct projects region --- roles/os_projects/tasks/projects.yml | 8 ++++---- roles/os_projects/tasks/users.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/os_projects/tasks/projects.yml b/roles/os_projects/tasks/projects.yml index 325cc6d..54c6fa4 100644 --- a/roles/os_projects/tasks/projects.yml +++ b/roles/os_projects/tasks/projects.yml @@ -3,7 +3,7 @@ openstack.cloud.identity_domain: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -86,7 +86,7 @@ openstack.cloud.project: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -107,7 +107,7 @@ openstack.cloud.identity_role: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -176,7 +176,7 @@ openstack.cloud.quota: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" diff --git a/roles/os_projects/tasks/users.yml b/roles/os_projects/tasks/users.yml index 8c8641a..a25a542 100644 --- a/roles/os_projects/tasks/users.yml +++ b/roles/os_projects/tasks/users.yml @@ -3,7 +3,7 @@ openstack.cloud.identity_user: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -27,7 +27,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" @@ -47,7 +47,7 @@ openstack.cloud.role_assignment: auth_type: "{{ os_projects_auth_type }}" auth: "{{ os_projects_admin_auth }}" - region_name: "{{ os_projects_admin_region | default(omit) }}" + region_name: "{{ os_projects_region | default(omit) }}" cacert: "{{ os_projects_cacert | default(omit) }}" cloud: "{{ os_projects_cloud | default(omit) }}" interface: "{{ os_projects_interface | default(omit, true) }}" From 4c35d7a24c2f029ecce07e3a2b7fd0791650df2f Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Tue, 16 Sep 2025 10:40:17 +0100 Subject: [PATCH 5/5] Add variable in os_volumes README --- roles/os_volumes/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/os_volumes/README.md b/roles/os_volumes/README.md index cdbe4c2..e4edc33 100644 --- a/roles/os_volumes/README.md +++ b/roles/os_volumes/README.md @@ -20,6 +20,8 @@ Role Variables `os_volumes_auth` is a dict containing authentication information compatible with the `auth` argument of `openstack.cloud` Ansible modules. +`os_volumes_region` is an optional name of an OpenStack region. + `os_volumes` is a list of volumes to register. Each item should be a dict containing the following items: - `display_description`: Optional description of the volume.