Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions roles/os_container_clusters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions roles/os_container_clusters/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_deploy_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions roles/os_deploy_templates/tasks/deploy_templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_flavors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions roles/os_flavors/tasks/flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_host_aggregates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions roles/os_host_aggregates/tasks/host-aggregates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions roles/os_images/tasks/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
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) }}"

Check failure on line 14 in roles/os_images/tasks/promote.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
register: retire_or_promote_list
when: >
(os_images_list | selectattr('rename_image', 'defined') | list | length > 0)
Expand Down
6 changes: 6 additions & 0 deletions roles/os_images/tasks/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
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) }}"

Check failure on line 9 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.name ~ '-kernel' }}"
state: absent
with_items: "{{ os_images_list | list }}"
Expand All @@ -21,9 +22,10 @@
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) }}"

Check failure on line 28 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.name ~ '-kernel' }}"
state: present
visibility: "{{ visibility }}"
Expand All @@ -44,9 +46,10 @@
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) }}"

Check failure on line 52 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.name ~ '-ramdisk' }}"
state: absent
with_items: "{{ os_images_list | list }}"
Expand All @@ -62,9 +65,10 @@
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) }}"

Check failure on line 71 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.name ~ '-ramdisk' }}"
state: present
visibility: "{{ visibility }}"
Expand All @@ -85,9 +89,10 @@
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) }}"

Check failure on line 95 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.name }}"
state: absent
with_items: "{{ os_images_list | list }}"
Expand All @@ -100,9 +105,10 @@
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) }}"

Check failure on line 111 in roles/os_images/tasks/upload.yml

View workflow job for this annotation

GitHub Actions / lint / Ansible 2.14 lint

yaml[key-duplicates]

Duplication of key "region_name" in mapping
name: "{{ item.0.name }}"
state: present
visibility: "{{ visibility }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_networks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
6 changes: 6 additions & 0 deletions roles/os_networks/tasks/networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand All @@ -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) }}"
Expand Down Expand Up @@ -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) }}"
Expand Down Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand Down
4 changes: 4 additions & 0 deletions roles/os_networks/tasks/rbac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand All @@ -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) }}"
Expand All @@ -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) }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_networks/tasks/router_workaround.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand Down
2 changes: 2 additions & 0 deletions roles/os_projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
4 changes: 4 additions & 0 deletions roles/os_projects/tasks/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand Down Expand Up @@ -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) }}"
Expand Down
3 changes: 3 additions & 0 deletions roles/os_projects/tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand All @@ -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) }}"
Expand All @@ -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) }}"
Expand Down
1 change: 1 addition & 0 deletions roles/os_volumes/tasks/volumes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}"
Expand Down
Loading