forked from ISTI-ansible-roles/ansible-roles
conda: Fix a conditional.
This commit is contained in:
parent
835df95a15
commit
c6c4584ea9
|
@ -34,9 +34,8 @@
|
|||
args:
|
||||
creates: '{{ conda_install_prefix }}/envs/{{ item.env_name }}/.{{ item.pkg }}'
|
||||
with_items: '{{ conda_env_pkgs }}'
|
||||
when: conda_env_pkgs is defined
|
||||
|
||||
become: True
|
||||
become_user: '{{ conda_user }}'
|
||||
when: conda_environments is defined
|
||||
when: conda_env_pkgs is defined
|
||||
tags: [ 'python', 'conda', 'conda_env' ]
|
||||
|
|
Loading…
Reference in New Issue