Add ansible hieradata file

Wire up ansible_managed hieradata and provide a default file.

NOTE: In stable/train the name of the role is tripleo-hieradata and not
tripleo_hieradata

Depends-On: https://review.opendev.org/#/c/723628/
Change-Id: If3226be3ac6b2596a13985fe226f23afc3458907
(cherry picked from commit 4407c54f6b)
This commit is contained in:
Alex Schultz 2020-04-23 14:20:39 -06:00 committed by Emilien Macchi
parent ee0ea45368
commit 075129286d
2 changed files with 5 additions and 0 deletions

View File

@ -28,3 +28,7 @@
- service_configs
- extraconfig
- role_extraconfig
- name: Ensure ansible_managed hieradata file exists
include_role:
name: tripleo-hieradata
tasks_from: ansible_hieradata.yml

View File

@ -593,6 +593,7 @@ resources:
- '"%{::uuid}"'
- fqdn
- docker_puppet # Optionally provided by container-puppet.py
- ansible_managed
- heat_config_%{::deploy_config_name}
- config_step
- role_extraconfig