darkwizard242.polychromatic
Ansible Role: Polychromatic
This role is used to install the polychromatic package (by default) or to uninstall it (if specified) on Ubuntu systems. Polychromatic is a tool for customizing the features of Razer devices on GNU/Linux.
Requirements
No specific requirements.
Role Variables
The available variables are listed below (found in defaults/main.yml
):
Variables List:
polychromatic_repo: 'ppa:polychromatic/stable'
polychromatic_repo_desired_state: present
polychromatic_repo_filename: polychromatic
polychromatic_app: polychromatic-meta
polychromatic_package_desired_state: present
Variables Table:
Variable | Description |
---|---|
polychromatic_repo | The PPA repository to add. |
polychromatic_repo_desired_state | Indicates whether to add (i.e. present ) or remove (i.e. absent ) the repository. |
polychromatic_repo_filename | The name of the repository file to save in /etc/apt/sources.list.d . |
polychromatic_app | The application to install, for example, polychromatic-meta. |
polychromatic_package_desired_state | Indicates whether to install (i.e. present or latest ) or uninstall (i.e. absent ) the package. Default is present . |
Dependencies
No dependencies.
Example Playbook
To install the polychromatic package by default in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.polychromatic
To customize the role behavior for installing the latest polychromatic package in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.polychromatic
vars:
polychromatic_package_desired_state: latest
To customize the role behavior for uninstalling the polychromatic package in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.polychromatic
vars:
polychromatic_package_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
For dynamically installing or uninstalling 'polychromatic' package.
Installa
ansible-galaxy install darkwizard242.polychromatic
Licenza
mit
Download
5.6k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!