etcd-backup.yml 465 B

12345678910111213141516171819
  1. ---
  2. - name: Backup and remove generated etcd certificates
  3. hosts: oo_first_etcd
  4. any_errors_fatal: true
  5. tasks:
  6. - include_role:
  7. name: etcd
  8. tasks_from: backup_generated_certificates
  9. - include_role:
  10. name: etcd
  11. tasks_from: remove_generated_certificates
  12. - name: Backup deployed etcd certificates
  13. hosts: oo_etcd_to_config
  14. any_errors_fatal: true
  15. tasks:
  16. - include_role:
  17. name: etcd
  18. tasks_from: backup_server_certificates