---
- name: ETCD | Copy CA certificate to remote host
  copy:
    src: >-
      {{ .etcd.ca_file }}
    dest: /etc/kubernetes/pki/etcd/ca.crt
    mode: 0755

- name: ETCD | Copy client certificate to remote host
  copy:
    src: >-
      {{ .etcd.cert_file }}
    dest: /etc/kubernetes/pki/etcd/client.crt
    mode: 0755

- name: ETCD | Copy client key to remote host
  copy:
    src: >-
      {{ .etcd.key_file }}
    dest: /etc/kubernetes/pki/etcd/client.key
    mode: 0755
