config.yml 926 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. - name: etcd Install Checkpoint Start
  3. hosts: localhost
  4. connection: local
  5. gather_facts: false
  6. tasks:
  7. - name: Set etcd install 'In Progress'
  8. set_stats:
  9. data:
  10. installer_phase_etcd: "In Progress"
  11. aggregate: false
  12. - name: Configure etcd
  13. hosts: oo_etcd_to_config
  14. any_errors_fatal: true
  15. roles:
  16. - role: os_firewall
  17. - role: openshift_etcd
  18. etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
  19. etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
  20. etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
  21. r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}"
  22. - role: nickhammond.logrotate
  23. - name: etcd Install Checkpoint End
  24. hosts: localhost
  25. connection: local
  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