- hosts: localhost vars_files: - kubernetes.secrets tasks: - template: src: k8s/secrets.yaml.j2 dest: k8s/secrets.yaml