Dennis Dmitriev | cb1e62d | 2018-02-23 14:22:57 +0200 | [diff] [blame] | 1 | {%- macro password(size=16) -%} |
| 2 | {% for index in range(size) %}{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'|random }}{% endfor %} |
| 3 | {%- endmacro -%} |
| 4 | parameters: |
| 5 | _param: |
| 6 | # Put overrides for any environment-specific variables here |
| 7 | designate_admin_api_enabled: true |
| 8 | designate_bind9_rndc_key: 4pc+X4PDqb2q+5o72dISm72LM1Ds9X2EYZjqg+nmsS7FhdTwzFFY8l/iEDmHxnyjkA33EQC8H+z0fLLBunoitw== |
| 9 | designate_bind9_rndc_algorithm: hmac-sha512 |
| 10 | designate_domain_id: 5186883b-91fb-4891-bd49-e6769234a8fc |
| 11 | designate_quota_zones: 40 |
| 12 | designate_pool_ns_records: |
| 13 | - hostname: 'ns1.example.org.' |
| 14 | priority: 10 |
| 15 | designate_pool_nameservers: |
| 16 | - host: ${_param:openstack_dns_node01_address} |
| 17 | port: 53 |
| 18 | - host: ${_param:openstack_dns_node02_address} |
| 19 | port: 53 |
| 20 | designate_pool_target_type: bind9 |
| 21 | designate_pool_target_masters: |
| 22 | - host: ${_param:openstack_control_node01_address} |
| 23 | port: 5354 |
| 24 | - host: ${_param:openstack_control_node02_address} |
| 25 | port: 5354 |
| 26 | - host: ${_param:openstack_control_node03_address} |
| 27 | port: 5354 |
| 28 | designate_pool_target_options: |
| 29 | host: ${_param:openstack_dns_node01_address} |
| 30 | port: 53 |
| 31 | rndc_host: ${_param:openstack_dns_node01_address} |
| 32 | rndc_port: 953 |
| 33 | rndc_key_file: /etc/designate/rndc.key |
| 34 | designate_version: ${_param:openstack_version} |
| 35 | designate_worker_enabled: true |
| 36 | designate_service_host: ${_param:openstack_control_address} |
| 37 | mysql_designate_password: {{ password(16) }} |
| 38 | keystone_designate_password: {{ password(16) }} |
| 39 | |
Dennis Dmitriev | ce10256 | 2018-03-06 02:02:08 +0200 | [diff] [blame] | 40 | # openstack_dns_node01_address: 172.16.10.111 |
| 41 | # openstack_dns_node02_address: 172.16.10.112 |
Dennis Dmitriev | cb1e62d | 2018-02-23 14:22:57 +0200 | [diff] [blame] | 42 | linux: |
| 43 | network: |
| 44 | host: |
| 45 | dns01: |
| 46 | address: ${_param:openstack_dns_node01_address} |
| 47 | names: |
| 48 | - dns01 |
| 49 | - dns01.${_param:cluster_domain} |
| 50 | dns02: |
| 51 | address: ${_param:openstack_dns_node02_address} |
| 52 | names: |
| 53 | - dns02 |
| 54 | - dns02.${_param:cluster_domain} |