config.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. - name: Management Install Checkpoint Start
  3. hosts: all
  4. gather_facts: false
  5. tasks:
  6. - name: Set Management install 'In Progress'
  7. run_once: true
  8. set_stats:
  9. data:
  10. installer_phase_management:
  11. status: "In Progress"
  12. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  13. - name: Setup CFME
  14. hosts: oo_first_master
  15. pre_tasks:
  16. - name: Create a temporary place to evaluate the PV templates
  17. command: mktemp -d /tmp/openshift-ansible-XXXXXXX
  18. register: r_openshift_management_mktemp
  19. changed_when: false
  20. tasks:
  21. - name: Run the CFME Setup Role
  22. import_role:
  23. name: openshift_management
  24. vars:
  25. template_dir: "{{ hostvars[groups.masters.0].r_openshift_management_mktemp.stdout }}"
  26. - name: Management Install Checkpoint End
  27. hosts: all
  28. gather_facts: false
  29. tasks:
  30. - name: Set Management install 'Complete'
  31. run_once: true
  32. set_stats:
  33. data:
  34. installer_phase_management:
  35. status: "Complete"
  36. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"