config.yml 971 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---
  2. - name: etcd Install Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. tasks:
  6. - name: Set etcd install 'In Progress'
  7. run_once: true
  8. set_stats:
  9. data:
  10. installer_phase_etcd:
  11. status: "In Progress"
  12. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  13. - import_playbook: ca.yml
  14. - import_playbook: certificates.yml
  15. - name: Configure etcd
  16. hosts: oo_etcd_to_config
  17. any_errors_fatal: true
  18. roles:
  19. - role: openshift_clock
  20. - role: openshift_etcd
  21. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  22. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  23. - role: nickhammond.logrotate
  24. - name: etcd Install Checkpoint End
  25. hosts: all
  26. gather_facts: false
  27. tasks:
  28. - name: Set etcd install 'Complete'
  29. run_once: true
  30. set_stats:
  31. data:
  32. installer_phase_etcd:
  33. status: "Complete"
  34. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"