https://github.com/darkwizard242/ansible-role-uget
Ansible role for 'uget'. Available on Ansible Galaxy.
https://github.com/darkwizard242/ansible-role-uget
ansible ansible-galaxy ansible-role download-manager linux uget
Last synced: about 2 months ago
JSON representation
Ansible role for 'uget'. Available on Ansible Galaxy.
- Host: GitHub
- URL: https://github.com/darkwizard242/ansible-role-uget
- Owner: darkwizard242
- License: mit
- Created: 2021-11-01T13:57:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-02T21:04:11.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T20:46:04.115Z (over 1 year ago)
- Topics: ansible, ansible-galaxy, ansible-role, download-manager, linux, uget
- Language: Jinja
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/darkwizard242/ansible-role-uget/actions?query=workflow%3Abuild-and-test) [](https://github.com/darkwizard242/ansible-role-uget/actions?query=workflow%3Arelease)  [](https://sonarcloud.io/dashboard?id=ansible-role-uget) [](https://sonarcloud.io/dashboard?id=ansible-role-uget) [](https://sonarcloud.io/dashboard?id=ansible-role-uget)  
# Ansible Role: uget
Role to install (_by default_) [uget](https://ugetdm.com/) package or uninstall (_if passed as var_) on **Debian/Ubuntu** and **EL** systems. **uget** is a multi-platform open source download manager.
## Requirements
None.
## Role Variables
Available variables are listed below (located in `defaults/main.yml`):
### Variables list:
```yaml
uget_app: uget
uget_desired_state: present
```
### Variables table:
Variable | Description
------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------
uget_app | Defines the app to install i.e. **uget**
uget_desired_state | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package. Defaults to `present`.
## Dependencies
None
## Example Playbook
For default behaviour of role (i.e. installation of **uget** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.uget
```
For customizing behavior of role (i.e. installation of latest **uget** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.uget
vars:
uget_desired_state: latest
```
For customizing behavior of role (i.e. un-installation of **uget** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.uget
vars:
uget_desired_state: absent
```
## License
[MIT](https://github.com/darkwizard242/ansible-role-uget/blob/master/LICENSE)
## Author Information
This role was created by [Ali Muhammad](https://www.alimuhammad.dev/).