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.

14 lines
603 B

  1. ---
  2. - name: Backup old certs and keys
  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.crt, dest: apiserver.crt.old}
  9. - {src: apiserver.key, dest: apiserver.key.old}
  10. - {src: apiserver-kubelet-client.crt, dest: apiserver-kubelet-client.crt.old}
  11. - {src: apiserver-kubelet-client.key, dest: apiserver-kubelet-client.key.old}
  12. - {src: front-proxy-client.crt, dest: front-proxy-client.crt.old}
  13. - {src: front-proxy-client.key, dest: front-proxy-client.key.old}
  14. ignore_errors: yes