From 296fdb16b28f7e3a672285da64a833d10e8c1903 Mon Sep 17 00:00:00 2001 From: Johnathan Kupferer Date: Mon, 5 Feb 2024 19:17:23 -0500 Subject: [PATCH] Add impentation vars to include vars - Update include vars to include implementation vars - Add example implementation --- .../configs/test-empty-config/implementation/example/vars.yml | 4 ++++ ansible/include_vars.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 ansible/configs/test-empty-config/implementation/example/vars.yml diff --git a/ansible/configs/test-empty-config/implementation/example/vars.yml b/ansible/configs/test-empty-config/implementation/example/vars.yml new file mode 100644 index 00000000000..0b39af11a83 --- /dev/null +++ b/ansible/configs/test-empty-config/implementation/example/vars.yml @@ -0,0 +1,4 @@ +--- +agnosticd_passthrough_user_data: + used_example_implementation: true +... diff --git a/ansible/include_vars.yml b/ansible/include_vars.yml index 5cbc080f053..07cb0de86a1 100644 --- a/ansible/include_vars.yml +++ b/ansible/include_vars.yml @@ -22,6 +22,8 @@ - configs/{{ env_type }}/default_vars # Default vars of the config, specific to a cloud provider - configs/{{ env_type }}/default_vars_{{ cloud_provider }} + # Implementation vars of the config + - configs/{{ env_type }}/implementation/{{ implementation | default(omit) }}/vars # Lecacy secret vars file. - configs/{{ env_type }}/env_secret_vars __vars_file_extension: