prerequisites.yml 763 B

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