Role to install (by default) openrazer-meta package or uninstall (if passed as var) on Ubuntu systems for supporting Razer products drivers and customization on Ubuntu systems.
None.
Available variables are listed below (located in defaults/main.yml
):
openrazer_repo: 'ppa:openrazer/stable'
openrazer_repo_desired_state: present
openrazer_repo_filename: openrazer
openrazer_app: openrazer-meta
openrazer_package_desired_state: present
Variable | Description |
---|---|
openrazer_repo | Refers to the ppa repo to add. |
openrazer_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 . |
openrazer_repo_filename | Defined to set the repository file name for saving in /etc/apt/sources.list.d |
openrazer_app | Defines the app to install i.e. openrazer-meta |
openrazer_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 . |
None
For default behaviour of role (i.e. installation of openrazer package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.openrazer
For customizing behavior of role (i.e. installation of latest openrazer package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.openrazer
vars:
openrazer_package_desired_state: latest
For customizing behavior of role (i.e. un-installation of openrazer package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.openrazer
vars:
openrazer_package_desired_state: absent
This role was created by Ali Muhammad.