summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/redeploy-certificates/etcd-backup.yml
blob: d738c820771153347116ca5865640c36f3475921 (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:
  - include_role:
      name: etcd
      tasks_from: backup_generated_certificates
  - include_role:
      name: etcd
      tasks_from: remove_generated_certificates

- name: Backup deployed etcd certificates
  hosts: oo_etcd_to_config
  any_errors_fatal: true
  tasks:
  - include_role:
      name: etcd
      tasks_from: backup_server_certificates