Skip to content

Ansible role to install cli for multiple cloud providers

License

Notifications You must be signed in to change notification settings

rolehippie/cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install cli for multiple cloud providers.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

cloud_awscli_arch

Default value

cloud_awscli_arch: "{{ 'aarch64' if ansible_architecture == 'aarch64' else 'x86_64'
  }}"

cloud_awscli_enabled

Enable installation of aws cli

Default value

cloud_awscli_enabled: true

cloud_awscli_installer

URL to download installer from

Default value

cloud_awscli_installer: https://awscli.amazonaws.com/awscli-exe-linux-{{ cloud_awscli_arch
  }}.zip

cloud_azure_arch

Architecture for azure

Default value

cloud_azure_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"

cloud_azure_enabled

Enable installation of azure cli

Default value

cloud_azure_enabled: true

cloud_azure_keyring

Path for the repository keyring

Default value

cloud_azure_keyring: /usr/share/keyrings/microsoft-archive-keyring.gpg

cloud_eksctl_arch

Architecture for eksctl

Default value

cloud_eksctl_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"

cloud_eksctl_download

URL to download eksctl from

Default value

cloud_eksctl_download: https://github.com/eksctl-io/eksctl/releases/download/v{{ cloud_eksctl_version
  }}/eksctl_Linux_{{ cloud_eksctl_arch }}.tar.gz

cloud_eksctl_enabled

Enable installation of eksctl cli

Default value

cloud_eksctl_enabled: true

cloud_eksctl_version

Version of eksctl to install

Default value

cloud_eksctl_version: 0.194.0

cloud_hcloud_arch

Architecture for hcloud

Default value

cloud_hcloud_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"

cloud_hcloud_download

URL to download hcloud from

Default value

cloud_hcloud_download: https://github.com/hetznercloud/cli/releases/download/v{{ cloud_hcloud_version
  }}/hcloud-linux-{{ cloud_hcloud_arch }}.tar.gz

cloud_hcloud_enabled

Enable installation of hcloud cli

Default value

cloud_hcloud_enabled: true

cloud_hcloud_version

Version of hcloud to install

Default value

cloud_hcloud_version: 1.49.0

cloud_install_path

Path to install the binaries

Default value

cloud_install_path: /usr/bin

Discovered Tags

awscli

azure

cloud

eksctl

hcloud

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger