galaxyproject / ansible-galaxy

An Ansible role for managing a Galaxy server
https://galaxy.ansible.com/galaxyproject/galaxy
58 stars 75 forks source link

When local tool is a folder #214

Open microfuge opened 4 months ago

microfuge commented 4 months ago

Hi , I have a locally developed tool, which I am trying to install in our local galaxy instance by setting galaxy_local_tools . This particular tool has a tool script, macro xml and test data in a folder my_tool. I would be grateful to know as how to add this to galaxy_local_tools. What worked was -

galaxy_local_tools:
    - file: my_tool/
      section_name: SCS
      section_id: scs
    - file: my_tool/tool_name.xml
      section_name: SCS
      section_id: scs

The trailing slash seems to be necessary for correct copying of the folder.