prerequisites.yml 857 B

1234567891011121314151617181920212223242526
  1. ---
  2. # l_scale_up_hosts may be passed in via various scaleup plays.
  3. - import_playbook: init/main.yml
  4. vars:
  5. skip_version: True
  6. l_install_base_packages: True
  7. l_openshift_version_set_hosts: "all:!all"
  8. l_openshift_version_check_hosts: "all:!all"
  9. - import_playbook: init/validate_hostnames.yml
  10. when: not (skip_validate_hostnames | default(False))
  11. - import_playbook: init/repos.yml
  12. # This is required for container runtime for crio, only needs to run once.
  13. - name: Configure os_firewall
  14. hosts: "{{ l_scale_up_hosts | default(l_default_firewall_hosts) }}"
  15. vars:
  16. l_default_firewall_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config:oo_nfs_to_config:oo_nodes_to_config"
  17. roles:
  18. - role: os_firewall
  19. - import_playbook: container-runtime/private/setup_storage.yml
  20. - import_playbook: container-runtime/private/config.yml