config.yml 892 B

1234567891011121314151617181920212223242526272829303132
  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. - name: Configure etcd
  12. hosts: oo_etcd_to_config
  13. any_errors_fatal: true
  14. roles:
  15. - role: os_firewall
  16. - role: openshift_etcd
  17. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  18. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  19. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  20. r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}"
  21. - role: nickhammond.logrotate
  22. - name: etcd Install Checkpoint End
  23. hosts: oo_all_hosts
  24. gather_facts: false
  25. tasks:
  26. - name: Set etcd install 'Complete'
  27. set_stats:
  28. data:
  29. installer_phase_etcd: "Complete"
  30. aggregate: false