darkwizard242.ulauncher
Ansible Role: ulauncher
Role to install (by default) ulauncher 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:
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.
- hosts: servers
roles:
- darkwizard242.ulauncher
For customizing behavior of role (i.e. installation of latest ulauncher package) in ansible playbooks.
- 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.
- hosts: servers
roles:
- darkwizard242.ulauncher
vars:
ulauncher_package_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
About
To dynamically installing or uninstalling 'ulauncher' package, which is an Application Launcher utility.
Install
ansible-galaxy install darkwizard242.ulauncherLicense
mit
Downloads
2.8k
Owner
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!
