darkwizard242.helmfile

Ansible Role: helmfile

This role installs helmfile on Debian/Ubuntu and EL systems by default.

Requirements

No requirements needed.

Role Variables

The following variables are available (found in defaults/main.yml):

List of Variables:

helmfile_app: helmfile
helmfile_version: 0.167.1
helmfile_os: "{{ ansible_system | lower }}"
helmfile_architecture_map:
  amd64: amd64
  arm: arm64
  x86_64: amd64
  armv6l: armv6
  armv7l: armv7
  aarch64: arm64
  32-bit: "386"
  64-bit: amd64
helmfile_dl_url: https://github.com/helmfile/{{ helmfile_app }}/releases/download/v{{ helmfile_version }}/{{ helmfile_app }}_{{ helmfile_version }}_{{ helmfile_os }}_{{ helmfile_architecture_map[ansible_architecture] }}.tar.gz
helmfile_bin_path: /usr/local/bin
helmfile_file_owner: root
helmfile_file_group: root
helmfile_file_mode: '0755'

Variables Table:

Variable Description
helmfile_app The app to install, which is helmfile.
helmfile_version The version to install, defaults to: 0.167.1.
helmfile_os The operating system type, used to get the right binaries.
helmfile_architecture_map The architecture of the OS, used to set the correct binaries.
helmfile_dl_url The URL where the helmfile binary can be downloaded.
helmfile_bin_path The location where the helmfile binary will be stored, defaults to: /usr/local/bin.
helmfile_file_owner The owner of the helmfile binary file.
helmfile_file_group The group of the helmfile binary file.
helmfile_file_mode The permissions set for the helmfile binary file.

Dependencies

No dependencies required.

Example Playbook

For the default behavior (installing helmfile) in Ansible playbooks:

- hosts: servers
  roles:
    - darkwizard242.helmfile

To customize the behavior (such as specifying a different helmfile version):

- hosts: servers
  roles:
    - darkwizard242.helmfile
  vars:
    helmfile_version: 0.163.0

To change where the helmfile binary is installed:

- hosts: servers
  roles:
    - darkwizard242.helmfile
  vars:
    helmfile_bin_path: /bin/

License

MIT

Author Information

This role was created by Ali Muhammad.

Informazioni sul progetto

Installs/Uninstalls 'helmfile', declarative spec for deploying helmcharts.

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