Skip to content

Commit

Permalink
galaxy_config_style determine galaxy_config_file
Browse files Browse the repository at this point in the history
  • Loading branch information
drosofff committed Jan 13, 2019
1 parent d73d9e1 commit 9af2a88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion defaults/main.yml
Expand Up @@ -66,7 +66,10 @@ galaxy_server_dir: /mnt/galaxy/galaxy-app
galaxy_venv_dir: "{{ galaxy_server_dir }}/.venv"

# A system path for Galaxy's main configuration file
galaxy_config_file: "{{ galaxy_server_dir }}/config/galaxy.ini"
# Galaxy config file can either be 'ini-paste' (old style) or 'yaml'
galaxy_config_style: "ini-paste"
galaxy_config_file_basename: "galaxy.{{ 'yml' if galaxy_config_style in ('yaml', 'yml') else 'ini' }}"
galaxy_config_file: "{{ galaxy_server_dir }}/config/{{ galaxy_config_file_basename }}"

## Set this to 'yes' if you are targeting galaxy in a docker container
galaxy_runs_in_docker: no
Expand Down
1 change: 0 additions & 1 deletion tests/test_playbook.yml
Expand Up @@ -7,7 +7,6 @@
galaxy_tools_data_managers_list: files/run_data_managers.yaml
galaxy_tools_galaxy_instance_url: http://localhost:8080/
galaxy_tools_install_data_managers: yes
galaxy_config_style: "ini-paste"
pre_tasks:
- name: Make sure Galaxy is ready before running tests
uri: url="http://localhost:8080/" state=present
Expand Down

0 comments on commit 9af2a88

Please sign in to comment.