darkwizard242.eksctl

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

Ansible Role: eksctl

This role installs eksctl on Debian/Ubuntu and EL systems. eksctl is the official command-line tool for Amazon EKS.

Requirements

None.

Role Variables

Here are the variables you can use (found in defaults/main.yml):

List of Variables:

eksctl_app: eksctl
eksctl_version: 0.189.0
eksctl_os: "{{ ansible_system }}"
eksctl_architecture_map:
  amd64: amd64
  arm: arm64
  x86_64: amd64
  armv6l: armv6
  armv7l: armv7
  aarch64: arm64
  32-bit: "386"
  64-bit: amd64
eksctl_dl_url: https://github.com/weaveworks/{{ eksctl_app }}/releases/download/v{{ eksctl_version }}/{{ eksctl_app }}_{{ eksctl_os }}_{{ eksctl_architecture_map[ansible_architecture] }}.tar.gz
eksctl_bin_path: /usr/local/bin
eksctl_file_owner: root
eksctl_file_group: root
eksctl_file_permission_mode: '0755'

Variable Descriptions:

Variable Description
eksctl_app Name of the app to install, which is eksctl
eksctl_version Version to install, default is 0.189.0
eksctl_os Type of operating system.
eksctl_architecture_map Operating system architecture.
eksctl_dl_url URL to download the eksctl binary.
eksctl_bin_path Path where the eksctl binary will be stored, defaults to /usr/local/bin
eksctl_file_owner Owner of the eksctl binary file.
eksctl_file_group Group for the eksctl binary file.
eksctl_file_permission_mode Permission settings for the binary file, defaults to 0755

Dependencies

None

Example Playbook

Here is how to use the role for installing eksctl in Ansible playbooks:

- hosts: servers
  roles:
    - darkwizard242.eksctl

To specify a different eksctl version:

- hosts: servers
  roles:
    - darkwizard242.eksctl
  vars:
    eksctl_version: 0.72.0

To place the eksctl binary in a different location:

- hosts: servers
  roles:
    - darkwizard242.eksctl
  vars:
    eksctl_bin_path: /bin/

License

MIT

Author Information

This role was created by Ali Muhammad.

Informazioni sul progetto

Installs/Uninstalls 'eksctl', official cli for Amazon EKS.

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