config.yml 940 B

123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. - name: etcd Install Checkpoint Start
  3. hosts: oo_all_hosts
  4. gather_facts: false
  5. tasks:
  6. - name: Set etcd install 'In Progress'
  7. set_stats:
  8. data:
  9. installer_phase_etcd: "In Progress"
  10. aggregate: false
  11. - include: ca.yml
  12. - include: certificates.yml
  13. - name: Configure etcd
  14. hosts: oo_etcd_to_config
  15. any_errors_fatal: true
  16. roles:
  17. - role: os_firewall
  18. - role: openshift_etcd
  19. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  20. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  21. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  22. r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}"
  23. - role: nickhammond.logrotate
  24. - name: etcd Install Checkpoint End
  25. hosts: oo_all_hosts
  26. gather_facts: false
  27. tasks:
  28. - name: Set etcd install 'Complete'
  29. set_stats:
  30. data:
  31. installer_phase_etcd: "Complete"
  32. aggregate: false