From 4407c54f6b29436dbd1a56f2645eec5b4b7ce357 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Thu, 23 Apr 2020 14:20:39 -0600 Subject: [PATCH] Add ansible hieradata file Wire up ansible_managed hieradata and provide a default file. Depends-On: https://review.opendev.org/#/c/722519/ Change-Id: If3226be3ac6b2596a13985fe226f23afc3458907 --- common/hiera-steps-tasks.yaml | 4 ++++ overcloud.j2.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/common/hiera-steps-tasks.yaml b/common/hiera-steps-tasks.yaml index 0a677ae46c..dbfc19c40f 100644 --- a/common/hiera-steps-tasks.yaml +++ b/common/hiera-steps-tasks.yaml @@ -23,3 +23,7 @@ - service_configs - extraconfig - role_extraconfig +- name: Ensure ansible_managed hieradata file exists + include_role: + name: tripleo_hieradata + tasks_from: ansible_hieradata.yml diff --git a/overcloud.j2.yaml b/overcloud.j2.yaml index 0c071e24a3..b2d87b4180 100644 --- a/overcloud.j2.yaml +++ b/overcloud.j2.yaml @@ -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