https://github.com/darkwizard242/ansible-role-ulauncher
Ansible role for Ulaunch Available on Ansible Galaxy.
https://github.com/darkwizard242/ansible-role-ulauncher
ansible ansible-galaxy ansible-role linux ubuntu ulauncher ulauncher-desktop
Last synced: 5 months ago
JSON representation
Ansible role for Ulaunch Available on Ansible Galaxy.
- Host: GitHub
- URL: https://github.com/darkwizard242/ansible-role-ulauncher
- Owner: darkwizard242
- License: mit
- Created: 2021-08-24T02:04:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-24T21:46:50.000Z (about 2 years ago)
- Last Synced: 2025-01-29T08:11:14.393Z (over 1 year ago)
- Topics: ansible, ansible-galaxy, ansible-role, linux, ubuntu, ulauncher, ulauncher-desktop
- Language: Python
- Homepage: https://galaxy.ansible.com/darkwizard242/ulauncher
- Size: 29.3 KB
- Stars: 2
- 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-ulauncher/actions?query=workflow%3Abuild-and-test) [](https://github.com/darkwizard242/ansible-role-ulauncher/actions?query=workflow%3Arelease)  [](https://sonarcloud.io/dashboard?id=ansible-role-ulauncher) [](https://sonarcloud.io/dashboard?id=ansible-role-ulauncher) [](https://sonarcloud.io/dashboard?id=ansible-role-ulauncher)  
# Ansible Role: ulauncher
Role to install (_by default_) [ulauncher](https://ulauncher.io/) package or uninstall (_if passed as var_) on **Ubuntu** systems..
## Requirements
None.
## Role Variables
Available variables are listed below (located in `defaults/main.yml`):
### Variables list:
```yaml
ulauncher_repo: 'ppa:agornostal/ulauncher'
ulauncher_repo_desired_state: present
ulauncher_repo_filename: ulauncher
ulauncher_app: ulauncher
ulauncher_package_desired_state: present
```
### Variables table:
Variable | Description
------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------
ulauncher_repo | Refers to the ppa repo to add.
ulauncher_repo_desired_state | Defined to dynamically chose whether to add/keep (i.e. `present`) or remove (i.e. `absent`) the repository file list from `/etc/apt/sources.list.d`.
ulauncher_repo_filename | Defined to set the repository file name for saving in `/etc/apt/sources.list.d`
ulauncher_app | Defines the app to install i.e. **ulauncher**
ulauncher_package_desired_state | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package. Default is set to `present`.
## Dependencies
None
## Example Playbook
For default behaviour of role (i.e. installation of **ulauncher** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.ulauncher
```
For customizing behavior of role (i.e. installation of latest **ulauncher** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.ulauncher
vars:
ulauncher_package_desired_state: latest
```
For customizing behavior of role (i.e. un-installation of **ulauncher** package) in ansible playbooks.
```yaml
- hosts: servers
roles:
- darkwizard242.ulauncher
vars:
ulauncher_package_desired_state: absent
```
## License
[MIT](https://github.com/darkwizard242/ansible-role-ulauncher/blob/master/LICENSE)
## Author Information
This role was created by [Ali Muhammad](https://www.alimuhammad.dev/).