- import_tasks: '40-install-miniconda.yml' - name: 'Set up conda environment' loop_control: loop_var: 'conda_env' label: '{{ conda_env | regex_search(''(.*?)/(.*?)(_conda_environment.yml)'', ''\2'') | first }}' loop: '{{ lookup(''ansible.builtin.fileglob'', ''{{ role_path }}/templates/{{ conda_envs_template_dir }}/*'', wantlist=True) | map(''regex_search'', conda_envs_template_dir + ''/.*?_conda_environment.yml.j2'') }}' vars: conda_env_file: '{{ conda_env }}' include_tasks: '50-setup-miniconda-env.yml' - name: 'Set up Git repos' loop_control: loop_var: 'git_package' label: 'From ''{{ git_package.repo_url }}'' clone ''{{ git_package.branch }}'' branch' loop: '{{ python_git_packages }}' vars: git: '{{ git_package }}' include_tasks: '55-setup-git-repo.yml' - import_tasks: '60-install-packages.yml'