You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
395 B

  1. ---
  2. - name: Copy old certs to the kubeadm expected path
  3. copy:
  4. src: "{{ kube_cert_dir }}/{{ item.src }}"
  5. dest: "{{ kube_cert_dir }}/{{ item.dest }}"
  6. remote_src: yes
  7. with_items:
  8. - {src: apiserver.pem, dest: apiserver.crt}
  9. - {src: apiserver.pem, dest: apiserver.key}
  10. - {src: ca.pem, dest: ca.crt}
  11. - {src: ca-key.pem, dest: ca.key}
  12. register: kubeadm_copy_old_certs