Role to install (by default) Lens on Debian/Ubuntu and EL systems. Lens is one of the most popular opensource Kubernetes IDE.
None.
Available variables are listed below (located in defaults/main.yml
):
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"
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. |
None
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
This role was created by Ali Muhammad