Skip to content

Repository files navigation

cloud_tools

Build Status

This is a simple playbook to install a useful set of tools for dealing with cloud type things.

Install latest ansible with :

sudo apt install --no-install-recommends software-properties-common
sudo add-apt-repository --yes --update ppa:ansible/ansible
sudo apt install -qq --yes --no-install-recommends ansible git

Create a hosts file with the following contents

localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3

Optional : Set a github user/token var to avoid rate-limiting

Github may sometimes rate-limit non-authenticated access, which can cause the playbook to fail. If you don't already have one, you can Create a personal access token for github. Then set the GH_USER and GH_TOKEN environment variables as follows

export GH_USER=my_github_username
export GH_TOKEN=3739blahblah873298573248597325

Install all tools with

ansible-playbook -K -i hosts cloud_tools.yml -l localhost

Default list of tools installed

Unfortunately Hashicorp no longer supports Ubuntu Focal/20.04 since it went EOL in May 2025. So any Hashicorp tools will be removed from the install list if we're running under Ubuntu Focal/20.04

Install subset of tools

Build a list of the tools to install with the following syntax - set the variable cloud_tools to the list of desired tools by name above. The list should be comma-delimited, inside square-brackets.

ansible-playbook -K -i hosts cloud_tools.yml -l localhost --extra-vars '{cloud_tools: [ awscli, eksctl, kubectl ] }'

For testing with molecule, can use a cmdline like

molecule converge -- --extra-vars '{cloud_tools: [ gimme-aws-creds, linode-cli, ecs-cli ] }'

About

Simple playbook to install a useful set of tools for dealing with cloud things

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages