diff --git a/roles/kubernetes/secrets/tasks/gen_certs.yml b/roles/kubernetes/secrets/tasks/gen_certs.yml index 1fd9de07b..390a5484d 100644 --- a/roles/kubernetes/secrets/tasks/gen_certs.yml +++ b/roles/kubernetes/secrets/tasks/gen_certs.yml @@ -67,7 +67,7 @@ changed_when: false - name: Gen_certs | download certs for remote kubectl - fetch: src="{{ kube_cert_dir }}/{{ item }}" dest="output/tokens/{{ item }}" flat=yes + fetch: src="{{ kube_cert_dir }}/{{ item }}" dest="output/certs/{{ item }}" flat=yes delegate_to: "{{ groups['kube-master'][0] }}" with_items: - "ca.pem"