config.yml 974 B

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