tripleo-heat-templates/common/hiera-steps-tasks.yaml
Harald Jensås 77e56441f1 Add OVN chassis macs to hieradata
Add the tempalte in tripleo-ansible to the list of
hieradata_templates in common/hiera-steps-tasks.yaml

Depends-On: https://review.opendev.org/733719
Related-Bug: #1881593
Change-Id: I0a57374c5b58f5953b079b6690ecc77887ec8751
2020-10-10 21:04:13 +00:00

32 lines
711 B
YAML

- name: Hiera config
include_role:
name: tripleo_hieradata
- name: Hiera symlink
become: true
file:
src: /etc/puppet/hiera.yaml
dest: /etc/hiera.yaml
state: link
force: true
- name: Hieradata from vars
include_role:
name: tripleo_hieradata
tasks_from: hieradata_vars.yaml
vars:
hieradata_templates_list:
- bootstrap_node
- all_nodes
- vip_data
- net_ip_map
- cloud_domain
- fqdn
- service_names
- service_configs
- extraconfig
- role_extraconfig
- ovn_chassis_mac_map
- name: Ensure ansible_managed hieradata file exists
include_role:
name: tripleo_hieradata
tasks_from: ansible_hieradata.yml