| {%- macro password(size=16) -%} |
| {% for index in range(size) %}{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'|random }}{% endfor %} |
| {%- endmacro -%} |
| parameters: |
| _param: |
| # Put overrides for any environment-specific variables here |
| designate_admin_api_enabled: true |
| designate_bind9_rndc_key: 4pc+X4PDqb2q+5o72dISm72LM1Ds9X2EYZjqg+nmsS7FhdTwzFFY8l/iEDmHxnyjkA33EQC8H+z0fLLBunoitw== |
| designate_bind9_rndc_algorithm: hmac-sha512 |
| designate_domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc |
| designate_quota_zones: 40 |
| designate_pool_ns_records: |
| - hostname: 'ns1.example.org.' |
| priority: 10 |
| designate_pool_nameservers: |
| - host: ${_param:openstack_dns_node01_address} |
| port: 53 |
| - host: ${_param:openstack_dns_node02_address} |
| port: 53 |
| designate_pool_target_type: bind9 |
| designate_pool_target_masters: |
| - host: ${_param:openstack_control_node01_address} |
| port: 5354 |
| - host: ${_param:openstack_control_node02_address} |
| port: 5354 |
| - host: ${_param:openstack_control_node03_address} |
| port: 5354 |
| designate_pool_target_options: |
| host: ${_param:openstack_dns_node01_address} |
| port: 53 |
| rndc_host: ${_param:openstack_dns_node01_address} |
| rndc_port: 953 |
| rndc_key_file: /etc/designate/rndc.key |
| designate_version: ${_param:openstack_version} |
| designate_worker_enabled: true |
| designate_service_host: ${_param:openstack_control_address} |
| mysql_designate_password: {{ password(16) }} |
| keystone_designate_password: {{ password(16) }} |
| |
| # openstack_dns_node01_address: 172.16.10.111 |
| # openstack_dns_node02_address: 172.16.10.112 |
| linux: |
| network: |
| host: |
| dns01: |
| address: ${_param:openstack_dns_node01_address} |
| names: |
| - dns01 |
| - dns01.${_param:cluster_domain} |
| dns02: |
| address: ${_param:openstack_dns_node02_address} |
| names: |
| - dns02 |
| - dns02.${_param:cluster_domain} |