Skip to content
Open
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
8 changes: 6 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
- fail: msg="Installed ansible version {{ ansible_version.full }}, but ansible version > 2.1.1.1 required"
when: ansible_version.full | version_compare('2.1.1.1', '<')

- include_tasks: bootstrap_user.yml create_user={{ galaxy_tools_create_bootstrap_user }}
- include_tasks: bootstrap_user.yml
vars:
create_user: "{{ galaxy_tools_create_bootstrap_user }}"
when: galaxy_tools_create_bootstrap_user and (not galaxy_tools_api_key or galaxy_tools_admin_user_preset_api_key)

- include_tasks: tools.yml
Expand All @@ -14,5 +16,7 @@
- include_tasks: workflows.yml
when: galaxy_tools_install_workflows

- include_tasks: bootstrap_user.yml delete_user={{ galaxy_tools_delete_bootstrap_user }}
- include_tasks: bootstrap_user.yml
vars:
delete_user: "{{ galaxy_tools_delete_bootstrap_user }}"
when: galaxy_tools_delete_bootstrap_user