Ansible role to install cli for multiple cloud providers.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Requirements
- Default Variables
- cloud_awscli_arch
- cloud_awscli_enabled
- cloud_awscli_installer
- cloud_azure_arch
- cloud_azure_enabled
- cloud_azure_keyring
- cloud_eksctl_arch
- cloud_eksctl_download
- cloud_eksctl_enabled
- cloud_eksctl_version
- cloud_hcloud_arch
- cloud_hcloud_download
- cloud_hcloud_enabled
- cloud_hcloud_version
- cloud_install_path
- Discovered Tags
- Dependencies
- License
- Author
- Minimum Ansible version:
2.10
cloud_awscli_arch: "{{ 'aarch64' if ansible_architecture == 'aarch64' else 'x86_64'
}}"
Enable installation of aws cli
cloud_awscli_enabled: true
URL to download installer from
cloud_awscli_installer: https://awscli.amazonaws.com/awscli-exe-linux-{{ cloud_awscli_arch
}}.zip
Architecture for azure
cloud_azure_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
Enable installation of azure cli
cloud_azure_enabled: true
Path for the repository keyring
cloud_azure_keyring: /usr/share/keyrings/microsoft-archive-keyring.gpg
Architecture for eksctl
cloud_eksctl_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
URL to download eksctl from
cloud_eksctl_download: https://github.com/eksctl-io/eksctl/releases/download/v{{ cloud_eksctl_version
}}/eksctl_Linux_{{ cloud_eksctl_arch }}.tar.gz
Enable installation of eksctl cli
cloud_eksctl_enabled: true
Version of eksctl to install
cloud_eksctl_version: 0.194.0
Architecture for hcloud
cloud_hcloud_arch: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}"
URL to download hcloud from
cloud_hcloud_download: https://github.com/hetznercloud/cli/releases/download/v{{ cloud_hcloud_version
}}/hcloud-linux-{{ cloud_hcloud_arch }}.tar.gz
Enable installation of hcloud cli
cloud_hcloud_enabled: true
Version of hcloud to install
cloud_hcloud_version: 1.49.0
Path to install the binaries
cloud_install_path: /usr/bin
awscli
azure
cloud
eksctl
hcloud
- None
Apache-2.0