--- - set_fact: custom_config: "{{ lookup('file', default_kubeconfig_path | expanduser) | from_yaml }}" - name: Test helm modules using in-memory kubeconfig include_tasks: "tests_helm_auth.yml" vars: test_kubeconfig: "{{ custom_config }}" helm_namespace: "{{ test_namespace[0] }}"