darkwizard242.lazydocker

build-test release Ansible Role Maintainability Rating Reliability Rating Security Rating GitHub tag (latest SemVer) GitHub repo size

Ansible Role: lazydocker

This role is used to install lazydocker on Debian/Ubuntu and EL systems by default.

Requirements

No requirements.

Role Variables

Here are the available variables (found in defaults/main.yml):

List of Variables:

lazydocker_app: lazydocker
lazydocker_version: '0.23.3'
lazydocker_architecture_map:
  amd64: x86_64
  arm: arm64
  x86_64: x86_64
  armv6l: armv6
  armv7l: armv7
  aarch64: arm64
  32-bit: "386"
  64-bit: x86_64
lazydocker_dl_url: https://github.com/jesseduffield/{{ lazydocker_app }}/releases/download/v{{ lazydocker_version }}/{{ lazydocker_app }}_{{ lazydocker_version }}_{{ ansible_system }}_{{ lazydocker_architecture_map[ansible_architecture] }}.tar.gz
lazydocker_bin_path: /usr/local/bin
lazydocker_file_owner: root
lazydocker_file_group: root
lazydocker_file_mode: '0755'

Table of Variables:

Variable Description
lazydocker_app The application to install, which is lazydocker.
lazydocker_version The version to install, currently set to: 0.23.3.
lazydocker_architecture_map Maps the processor architecture to relevant values.
lazydocker_dl_url URL to download the lazydocker binary.
lazydocker_bin_path Path to store the lazydocker binary, default is /usr/local/bin.
lazydocker_file_owner Owner of the lazydocker binary file.
lazydocker_file_group Group for the lazydocker binary file.
lazydocker_file_mode Permissions for the lazydocker binary file.

Dependencies

No dependencies.

Example Playbook

To use this role to install lazydocker in Ansible playbooks by default:

- hosts: servers
  roles:
    - darkwizard242.lazydocker

To specify a different lazydocker version:

- hosts: servers
  roles:
    - darkwizard242.lazydocker
  vars:
    lazydocker_version: 0.8

To change the location where the lazydocker binary is installed:

- hosts: servers
  roles:
    - darkwizard242.lazydocker
  vars:
    lazydocker_bin_path: /bin/

License

MIT

Author Information

This role was created by Ali Muhammad.

Informazioni sul progetto

Installs/Uninstalls 'lazydocker', which is the lazier way to manage everything docker.

Installa
ansible-galaxy install darkwizard242.lazydocker
Licenza
mit
Download
6.9k
Proprietario
Senior DevOps/CloudOps Engineer. Dedicated to Automating everything I come across. Love to work on and learn new technologies/tools everyday!