darkwizard242.lens
Ansible Role: lens
This role helps you install Lens, a popular open-source IDE for Kubernetes, on Debian/Ubuntu and EL systems.
Requirements
No special requirements.
Role Variables
Here are the available variables (found in defaults/main.yml):
Variable 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"
Variable Descriptions:
- lens_app: Specifies the application to install, which is lens.
- lens_desired_state: Chooses whether to install (use
presentorlatest) or uninstall (useabsent) the package. It defaults topresent. - lens_debian_url: URL to download the 'deb' package for Debian/Ubuntu systems.
- lens_el_url: URL to download the 'rpm' package for EL systems.
Dependencies
None required.
Example Playbook
To install lens by default in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.lens
To uninstall the lens package in Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.lens
vars:
lens_desired_state: absent
License
This role is licensed under the MIT License.
Author Information
This role was created by Ali Muhammad.
Installa
ansible-galaxy install darkwizard242.lensLicenza
mit
Download
2.6k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!
