image_prep.yml 948 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ---
  2. - name: normalize groups
  3. import_playbook: ../../prerequisites.yml
  4. vars:
  5. skip_version: True
  6. skip_sanity_checks: True
  7. skip_validate_hostnames: True
  8. - name: determine version
  9. import_playbook: ../../init/version.yml
  10. vars:
  11. l_openshift_version_determine_hosts: "oo_nodes_to_config"
  12. l_openshift_version_set_hosts: "all:!all"
  13. l_openshift_version_check_hosts: "all:!all"
  14. - name: run node config setup
  15. import_playbook: setup.yml
  16. - name: run node config
  17. import_playbook: configure_nodes.yml
  18. - name: node bootstrap config
  19. hosts: oo_nodes_to_config:!oo_containerized_master_nodes
  20. tasks:
  21. - import_role:
  22. name: openshift_node
  23. tasks_from: bootstrap.yml
  24. - import_role:
  25. name: openshift_node_group
  26. tasks_from: bootstrap.yml
  27. - name: Re-enable excluders
  28. import_playbook: enable_excluders.yml
  29. - name: Remove any undesired artifacts from build
  30. import_playbook: clean_image.yml