/ansible-role-ulauncher

Ansible role for Ulaunch Available on Ansible Galaxy.

Primary LanguagePythonMIT LicenseMIT

build-test release Ansible Role Maintainability Rating Reliability Rating Security Rating GitHub tag (latest SemVer) GitHub repo size

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

MIT

Author Information

This role was created by Ali Muhammad.