From 43b7dcd79df91114d6b7cd9c9bf09a4254746f73 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Thu, 5 Oct 2017 16:17:35 +0200 Subject: migrate embedded etcd to external etcd --- roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml (limited to 'roles/etcd/tasks/certificates') diff --git a/roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml b/roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml new file mode 100644 index 000000000..e65b3e5a2 --- /dev/null +++ b/roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml @@ -0,0 +1,7 @@ +--- +- name: Backup master etcd certificates + shell: > + tar -czvf /etc/origin/master/master-etcd-certificate-backup-{{ ansible_date_time.epoch }}.tgz + /etc/origin/master/master.etcd-* + args: + warn: no -- cgit v1.2.3