diff --git a/ansible/include_vars.yml b/ansible/include_vars.yml index 5cbc080f053..061715fc249 100644 --- a/ansible/include_vars.yml +++ b/ansible/include_vars.yml @@ -42,6 +42,17 @@ include_vars: file: "{{ secret_file }}" + # The file always exists, since touched in setup_output_dir.yml + # For now set the default to false, will change to true later + - name: load provision-user-data.yaml + when: >- + ACTION | default('provision') != 'provision' + and + agnosticd_load_provision_user_data | default(false) + include_vars: + file: "{{ [ output_dir, 'provision-user-data.yaml' ] | path_join }}" + + - name: Set passthrough user data when: - agnosticd_passthrough_user_data is defined