restart.yml 423 B

12345678910111213141516171819
  1. ---
  2. - name: Restart etcd
  3. hosts: oo_etcd_to_config
  4. serial: 1
  5. tasks:
  6. - import_role:
  7. name: etcd
  8. tasks_from: restart.yml
  9. when:
  10. - not g_etcd_certificates_expired | default(false) | bool
  11. - name: Restart etcd
  12. hosts: oo_etcd_to_config
  13. tasks:
  14. - import_role:
  15. name: etcd
  16. tasks_from: restart.yml
  17. when:
  18. - g_etcd_certificates_expired | default(false) | bool