totaldebug.deluge
An Ansible role for creating a message of the day (MOTD) banner when logging into your server.
Configuration • Features • Contributing • Author • Support • Donate • License
About
ansible-role-deluge is a high-quality Ansible Role that installs Deluge 2.x on your Ansible clients. |
Configuration
Install
ansible-galaxy install totaldebug.deluge
Role Variables
Deluge
Input | Default | Description |
---|---|---|
deluge_service_user |
deluge |
Username for the service account |
deluge_service_group |
deluge |
Group for the service account |
deluged_port |
58846 |
Deluge port |
deluge_home |
/var/lib/deluge |
Sets the default home for the Deluge service account; config will be stored here |
deluge_download_location |
{{ deluge_home }}/downloads |
Directory for downloaded files |
deluge_move_completed_path |
'{{ deluge_download_location }}' |
Path for completed downloads |
deluge_torrentfiles_location |
'{{ deluge_download_location }}' |
Location for Deluge torrent files |
deluge_user_service_dir |
/etc/systemd/system/deluged.service.d/ |
Directory for the user service configuration |
deluge_core_conf_template |
core.conf.j2 |
Allows the use of a custom config file; see custom templates below |
deluge_plugins |
List of plugins you want to enable |
Deluge Web
Input | Default | Description |
---|---|---|
deluge_web |
true |
Installs the Deluge Web component |
deluge_web_port |
8112 |
Change the web port for the portal |
deluge_web_user_service_dir |
/etc/systemd/system/deluge-web.service.d/ |
Directory for the user service configuration |
deluge_web_conf_template |
web.conf.j2 |
Allows the use of a custom config file; see custom templates below |
Logging
Input | Default | Description |
---|---|---|
enable_logging |
false |
Enables logging |
deluge_log_dir |
/var/log/deluge/ |
Log location |
deluge_log_level |
warning |
Level of logging |
Custom Template
The core.conf
and web.conf
templates provided with this role are designed to be generic.
It's complicated to support every possible option directly in the role.
If the default template doesn’t meet your needs, you can create your own template:
- Create a
templates
directory alongside your playbook. - Create a file like
templates/mycore.conf.j2
(choose a unique name). - In your playbook, set
default_web_conf_template: mycore.conf.j2
.
Example Playbook
---
- host: all
roles:
- totaldebug/deluge
Features
🔰 | |
---|---|
Install Deluge 2.x | ✔️ |
Install Deluge Web | ✔️ |
Custom config templates | ✔️ |
Setup Log Rotation | ✔️ |
Setup Log Level | ✔️ |
Configure custom ports | ✔️ |
Enable plugins | ✔️ |
Ubuntu Support | ✔️ |
RedHat / CentOS 8 Support | ✔️ |
Systemd Services | ✔️ |
Contributing
Want to share something interesting? Check out contributing.
Versioning
This project uses semantic versioning:
- Major version increases for breaking changes that need user action.
- Minor version increases for new features that don't need user action.
- Patch version increases for bug fixes.
Author
![]() |
---|
marksie1988 (Steven Marks) |
Support
You can reach me in the following ways:
- via Discord
- Open an issue on GitHub
Donate
If you like this project, consider supporting it by sponsoring or donating through our sponsor page.
License
- Copyright © Total Debug.
Installa
ansible-galaxy install totaldebug.deluge
Licenza
Unknown
Download
1.1k
Proprietario