a3dc7aa00c
Commit a7661065743086961b8ef93056b810e7d2a49eda removed the all-nodes-config.j2.yaml Heat template. This template had the support for specifying hieradata to merge into the all_nodes hieradata via the AllNodesExtraMapData. This commit restores the merge logic so that the merged hieradata from the parameter value and the calculated hieradata is rendered in all_nodes.json. Change-Id: I890bbef764b6bae7cb71cfedaff2ce17829737fb Depends-On: Ib3838d404b45ae6684ef7e0aa211cb8015271866 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
templates | ||
README.md | ||
test-playbook.yaml |
tripleo-hieradata
An Ansible role to hieradata files.
Role variables
Required:
hieradata_template
-- path to template of hieradata contenthieradata_variable_start_string
-- string marking the beginning of a template print statement.hieradata_variable_end_string
-- string marking the end of a template print statement.hieradata_per_host
-- whether or not we configure hieradata per host.hieradata_files
-- List of hieradata files (Order matters for Hierarchy).
Test playbook
Assuming you have tripleo-inventory.yml generated, you can run the test playbook like:
ANSIBLE_ROLES_PATH=tripleo-common/roles \
ANSIBLE_HOST_KEY_CHECKING=False \
ansible-playbook \
-i tripleo-inventory.yml \
tripleo-common/roles/tripleo-hieradata/test-playbook.yml
License
Free software: Apache License (2.0)
Author Information
OpenStack TripleO team