config.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. title: "Management Install"
  12. playbook: "playbooks/openshift-management/config.yml"
  13. status: "In Progress"
  14. start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
  15. - name: Setup CFME
  16. hosts: oo_first_master
  17. pre_tasks:
  18. - name: Create a temporary place to evaluate the PV templates
  19. command: mktemp -d /tmp/openshift-ansible-XXXXXXX
  20. register: r_openshift_management_mktemp
  21. changed_when: false
  22. tasks:
  23. - name: Run the CFME Setup Role
  24. import_role:
  25. name: openshift_management
  26. vars:
  27. template_dir: "{{ hostvars[groups.masters.0].r_openshift_management_mktemp.stdout }}"
  28. - name: Management Install Checkpoint End
  29. hosts: all
  30. gather_facts: false
  31. tasks:
  32. - name: Set Management install 'Complete'
  33. run_once: true
  34. set_stats:
  35. data:
  36. installer_phase_management:
  37. status: "Complete"
  38. end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"