darkwizard242.istioctl

Ansible Role: istioctl

This role installs istioctl on Debian/Ubuntu and EL systems. istioctl is a command-line tool for Istio, which is an open-source service mesh for Kubernetes.

Requirements

No special requirements.

Role Variables

The variables that can be used are listed below (found in defaults/main.yml):

List of Variables:

istioctl_app: istioctl
istioctl_version: 1.23.0
istioctl_os: linux
istioctl_architecture_map:
  amd64: amd64
  arm: arm64
  x86_64: amd64
  armv6l: armv6
  armv7l: armv7
  aarch64: arm64
  32-bit: "386"
  64-bit: amd64
istioctl_dl_url: https://github.com/istio/istio/releases/download/{{ istioctl_version }}/istio-{{ istioctl_version }}-{{ istioctl_os }}-{{ istioctl_architecture_map[ansible_architecture] }}.tar.gz
istioctl_bin_path: /usr/local/bin
istioctl_file_owner: root
istioctl_file_group: root
istioctl_file_mode: '0755'

Description of Variables:

Variable Description
istioctl_app The application to install, which is istioctl.
istioctl_version Specifies the version to be installed. Defaults to: 1.23.0.
istioctl_os Specifies the operating system type. Defaults to: linux.
istioctl_architecture_map Specifies the OS architecture for correct binaries.
istioctl_dl_url The URL to download the istioctl binary.
istioctl_bin_path The path where the istioctl binary will be stored. Defaults to: /usr/local/bin.
istioctl_file_owner The owner of the istioctl binary file.
istioctl_file_group The group assigned to the istioctl binary file.
istioctl_file_mode The file mode for the istioctl binary.

Dependencies

None

Example Playbook

To install istioctl using an Ansible playbook, use the following:

- hosts: servers
  roles:
    - darkwizard242.istioctl

To specify a different version of istioctl:

- hosts: servers
  roles:
    - darkwizard242.istioctl
  vars:
    istioctl_version: 1.17.1

To change the location where the istioctl binary is installed:

- hosts: servers
  roles:
    - darkwizard242.istioctl
  vars:
    istioctl_bin_path: /bin/

License

MIT

Author Information

This role was created by Ali Muhammad.

Informazioni sul progetto

Installs/Uninstalls 'istioctl', an open source service mesh for Kubernetes.

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