summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/certificates-backup.yml
blob: 2f9bef799426766f24235d45933fd927d16d51fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: Backup and remove generated etcd certificates
  hosts: oo_first_etcd
  any_errors_fatal: true
  tasks:
  - import_role:
      name: etcd
      tasks_from: backup_generated_certificates.yml
  - import_role:
      name: etcd
      tasks_from: remove_generated_certificates.yml

- name: Backup deployed etcd certificates
  hosts: oo_etcd_to_config
  any_errors_fatal: true
  tasks:
  - import_role:
      name: etcd
      tasks_from: backup_server_certificates.yml