prerequisites.yml 774 B

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