darkwizard242.lens
Ansible Role: lens
Role to install (by default) Lens on Debian/Ubuntu and EL systems. Lens is one of the most popular opensource Kubernetes IDE.
Requirements
None.
Role Variables
Available variables are listed below (located in defaults/main.yml
):
Variables list:
lens_app: lens
lens_desired_state: present
# For Debian/Ubuntu Family
lens_debian_url: "https://api.k8slens.dev/binaries/Lens-2022.12.221341-latest.amd64.deb"
# For EL Family
lens_el_url: "https://api.k8slens.dev/binaries/Lens-2022.12.221341-latest.x86_64.rpm"
Variables table:
Variable | Description |
---|---|
lens_app | Defines the app to install i.e. lens |
lens_desired_state | Defined to dynamically chose whether to install (i.e. either present or latest ) or uninstall (i.e. absent ) the package. Defaults to present . |
lens_debian_url | Defines URL to download the 'deb' package from for Debian/Ubuntu family systems. |
lens_el_url | Defines URL to download the 'rpm' package from for EL family systems. |
Dependencies
None
Example Playbook
For default behaviour of role (i.e. installation of lens) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.lens
For customizing behavior of role (i.e. uninstallation of lens package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.lens
vars:
lens_desired_state: absent
License
Author Information
This role was created by Ali Muhammad
Install
ansible-galaxy install darkwizard242.lens
License
mit
Downloads
2.6k
Owner
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!