fix(python): import_tasks for Python package installation
This commit is contained in:
		| @@ -1,10 +1,18 @@ | |||||||
| - import_tasks: '40-install-miniconda.yml' | - import_tasks: '40-install-miniconda.yml' | ||||||
| - name: 'Set up conda environment' | - name: 'Set up conda environment' | ||||||
|   tags: |  | ||||||
|     - 'testing' |  | ||||||
|   loop_control: |   loop_control: | ||||||
|     loop_var: 'conda_env' |     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'') }}' |   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: |   vars: | ||||||
|     conda_env_file: '{{ conda_env }}' |     conda_env_file: '{{ conda_env }}' | ||||||
|   include_tasks: '50-setup-miniconda-env.yml' |   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' | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user