usegalaxy_eu.rustus
Ansible role: rustus
This role installs a rustus server.
Requirements
There are no specific requirements; the role is complete on its own.
Role Variables
You can find the variables for this role explained in the comments within defaults/main.yml.
Dependencies
There are no dependencies.
Example Playbook
- name: Install and configure rustus
hosts: all
vars:
rustus_instances:
# This runs rustus instances as systemd services
- name: uploads
# The user under which rustus will run
user: myuser
# The group under which rustus will run
group: mygroup
# By default, rustus saves upload information in the file info storage.
# The location for .info files can be changed with the --info-dir argument,
# but it defaults to "./data". Because of this, rustus will not run
# if it cannot write to its working directory. This role ensures
# a working directory is provided for rustus to operate,
# which will be created automatically if it doesn't exist.
working_directory: /data/uploads
# Arguments provided to rustus
args:
# See the configuration here: https://s3rius.github.io/rustus/configuration/
- --host "0.0.0.0"
- --port 1081
- --data-dir /data/uploads
- --hooks-http-urls "https://my-app.example.org/api/upload"
- --hooks-http-proxy-headers "Cookie"
roles:
usegalaxy-eu.rustus
License
Refer to LICENSE.md for details.
Author Information
This role was created by the contributors of the Galaxy Project. Please see the contributors page for more information.
Acknowledgments
This role is based on ansible-role-tusd.
Informazioni sul progetto
Install and run instances of rustus, an implementation of the tus file upload protocol in Rust.
Installa
ansible-galaxy install usegalaxy_eu.rustus
Licenza
mit
Download
3.1k
Proprietario