image_prep.yml 848 B

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