Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
environment:
PYTHONPATH: null
VIRTUAL_ENV: "{{ galaxy_venv_dir }}"
when: galaxy_additional_venv_packages
when: galaxy_additional_venv_packages | length > 0

remote_user: "{{ galaxy_remote_users.privsep | default(__galaxy_remote_user) }}"
become: "{{ true if galaxy_become_users.privsep is defined else __galaxy_become }}"
Expand Down
4 changes: 2 additions & 2 deletions tasks/paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
owner: "{{ __galaxy_privsep_user_name }}"
group: "{{ __galaxy_user_group }}" #This is set so that the galaxy_user can read the files in the priv_sep dirs. (As priv_sep dirs have defauly perms of 0640.)
mode: "{{ __galaxy_dir_perms }}"
loop: "{{ galaxy_privsep_dirs + galaxy_extra_privsep_dirs }}"
when: item | default(False)
# Skip null, xref https://github.com/galaxyproject/ansible-galaxy/pull/126
loop: "{{ (galaxy_privsep_dirs + galaxy_extra_privsep_dirs) | select | list }}"

- name: Create additional directories
file:
Expand Down
Loading