Execution
Date
08 Dec 2025 13:39:52 +0000
Duration
00:35:02.03
Controller
aio1.openstack.local
User
root
Versions
Ansible
2.18.6
ara
1.7.4 / 1.7.4
Python
3.12.3
Summary
2
Hosts
1377
Tasks
1365
Results
104
Plays
504
Files
0
Records
File: /etc/ansible/ansible_collections/openstack/osa/roles/openstack_resources/defaults/main.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 | --- # Copyright 2023, Cleura AB. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. openstack_resources_cloud_name: default openstack_resources_interface: internal openstack_resources_setup_host: "{{ openstack_service_setup_host | default('localhost') }}" openstack_resources_python_interpreter: >- {{ openstack_service_setup_host_python_interpreter | default((openstack_resources_setup_host == 'localhost') | ternary( ansible_playbook_python, ansible_facts['python']['executable'])) }} openstack_resources_deploy_host: localhost openstack_resources_deploy_python_interpreter: "{{ ansible_playbook_python }}" # Define this variable to provide mappings that needs to be created # It will be iterated over and supplied to openstack.osa.service_setup role # Example: # openstack_resources_identity: # domains: # - name: MyDomain # description: Custom domain # projects: # - name: someproject # description: My project # domain: Default # users: # - name: "tempest" # password: "{{ tempest_service_password }}" # project: service # role: # - "member" # catalog: # - name: "myservice" # type: "billing" # description: "our internal service" # endpoints: # - interface: "public" # url: "{{ myservice_service_publicurl }}" # service: "myservice" # quotas: # - name: some_project # cores: 100 # gigabytes: 1000 # instances: 50 # networks: 10 # volumes: 20 openstack_resources_identity: {} # Define this variable to provide mappings to manage compute resources # openstack_resources_compute: # aggregates: # - name: az1 # availability_zone: "az1" # hosts: "{{ groups['nova_compute'] | map('extract', hostvars, 'ansible_hostname') }}" # exclusive: "no" # - name: otheraggregate # hosts: "{{ groups['nova_compute'] | map('extract', hostvars, 'ansible_hostname') }}" # flavors: # - specs: # - name: b.1c0.5gb # vcpus: 1 # ram: 500 # - name: b.1c1gb # vcpus: 1 # ram: 1024 # state: present # - name: b.1c2gb # vcpus: 1 # ram: 2048 # public: false # extra_specs: # quota:disk_total_iops_sec: '5000' # access: # - project: tenant1 # project_domain: Default # state: present # keypairs: # - name: octavia_key # path: /root/.ssh/octavia_rsa # path on the localhost, where keypair will be placed # key_format: ssh # size: 4096 # state: present # type: rsa openstack_resources_compute: {} # Define this variable to provide mappings to manage network resources # openstack_resources_network: # address_scopes: # - name: external # ip_version: 6 # shared: true # subnet_pools: # - name: main # address_scope: external # prefixes: # - 192.168.0.0/16 # default_prefix: 25 # max_prefix: 29 # min_prefix: 23 # quota: 22 # default: true # shared: true # networks: # - name: tenant_network # state: present # external: true # shared: false # network_type: vlan # segmentation_id: 200 # subnets: # - name: vlan-subnet # cidr: 192.168.20.0/24 # gateway_ip: 192.168.20.254 # routers: # - name: my_router # network: public # interfaces: # - vlan-subnet # security_groups: # - name: my_group # state: present # description: My security group # security_group_rules: # - direction: ingress # port_range_min: 80 # port_range_max: 80 # protocol: tcp # remote_ip_prefix: 192.168.0.0/16 openstack_resources_network: {} # Define this variable to manage OpenStack images # openstack_resources_image: # image_force_upload: false # image_upload_batch: 3 # image_async_timeout: 600 # image_async_retries: 200 # images: # - name: cirros # # Either `url` or `filename` is required. # url: https://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img # # filename: # # checksum: # md5 only is supported. Required for image rotation. # # checksum_compressed: # md5 only is supported. Used for compressed images download process # # compressed_format: # xz or gz are supported # disk_format: qcow2 # visibility: private # owner: service # owner_domain: default # # Attempt to delete "rotated", except last kept copies. # keep_copies: 3 # # Supported hide methods: private, shared, community. Required if needed to hide old images. # hide_method: community # tags: # - managed_by_OSA # properties: # architecture: x86_64 # hypervisor_type: qemu # os_distro: Cirros openstack_resources_image: {} # Define this variable to manage OpenStack COE cluster templates and clusters # openstack_resources_coe: # clusters: # - template_uuid: # discovery_url: # flavor_id: # floating_ip_enabled: # keypair: # labels: # master_count: # node_count: # templates: # - state: present # coe: kubernetes # dns_nameserver: "8.8.8.8" # docker_storage_driver: "devicemapper" # docker_volume_size: "10" # external_network_id: "public" # fixed_network: "private" # fixed_subnet: "subnet" # flavor_id: "s1.big" # floating_ip_enabled: True # http_proxy: "{{ http_proxy }}" # https_proxy: "{{ https_proxy }}" # image_id: "cirros" # keypair: "key" # labels: # kube_tag: v1.25.9 # cinder_csi_enabled: true # master_flavor_id: "s1.normal" # master_lb_enabled: "True" # name: "Template" # network_driver: "calico" # no_proxy: "{{ no_proxy }}" # public: "True" # registry_enabled: "True" # server_type: "vm" # tls_disabled: "False" # volume_driver: "cinder" # clusters: # - discovery_url: # flavor_id: # floating_ip_enabled: # keypair: # labels: # master_count: # node_count: openstack_resources_coe: {} |