diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-05 16:17:35 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-06 16:45:23 +0200 |
commit | 43b7dcd79df91114d6b7cd9c9bf09a4254746f73 (patch) | |
tree | f4dae4805b47dd4cc45e98ed9bce172cae7c9927 /roles/etcd/tasks/certificates | |
parent | a25709a6f16913b59ef2edc3e07d8bc8a598f41e (diff) | |
download | openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.gz openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.bz2 openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.xz openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.zip |
migrate embedded etcd to external etcd
Diffstat (limited to 'roles/etcd/tasks/certificates')
-rw-r--r-- | roles/etcd/tasks/certificates/backup_master_etcd_certificates.yml | 7 |
1 files changed, 7 insertions, 0 deletions
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 |