setup_storage.yml 721 B

12345678910111213141516171819
  1. ---
  2. # l_scale_up_hosts may be passed in via prerequisites.yml during scaleup plays.
  3. # l_etcd_scale_up_crt_hosts may be passed in via prerequisites.yml during etcd
  4. # scaleup plays.
  5. - hosts: "{{ l_etcd_scale_up_crt_hosts | default(l_scale_up_hosts) | default('oo_nodes_to_config') }}"
  6. # role: container_runtime is necessary here to bring role default variables
  7. # into the play scope.
  8. roles:
  9. - role: container_runtime
  10. tasks:
  11. - import_role:
  12. name: container_runtime
  13. tasks_from: docker_storage_setup_overlay.yml
  14. when:
  15. - container_runtime_docker_storage_type|default('') == "overlay2"
  16. - import_role:
  17. name: container_runtime
  18. tasks_from: extra_storage_setup.yml