blob: 3427710ac580a6dba2e872f0a8fc169c2a78aa26 [file] [log] [blame]
Dennis Dmitrievcb1e62d2018-02-23 14:22:57 +02001{%- macro password(size=16) -%}
2{% for index in range(size) %}{{ 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'|random }}{% endfor %}
3{%- endmacro -%}
4parameters:
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 Dmitrievce102562018-03-06 02:02:08 +020040 # openstack_dns_node01_address: 172.16.10.111
41 # openstack_dns_node02_address: 172.16.10.112
Dennis Dmitrievcb1e62d2018-02-23 14:22:57 +020042 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}