Catalyst Cloud Ansible templates and examples
Shell Puppet
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cookbooks include-vs-import cookbook Oct 21, 2017
example-playbooks Creating host fails when ansible attempts to ssh into machine Dec 6, 2017
load-balancer
.gitignore Update pip and setuptools within the venv, add variable for venv name Aug 5, 2016
LICENSE
README.md Update README.md Jun 21, 2018
install-ansible.sh explicitly install python-openstackclient and openstacksdk Dec 5, 2017

README.md

Catalyst Cloud Ansible Templates

This repository provides sample playbooks that demonstrate how to use Ansible with the Catalyst Cloud (https://catalystcloud.nz).

Would you like to learn more?

Installing Ansible

The install-ansible.sh script helps you to easily install Ansible (latest or stable) and the dependencies required to interact with the Catalyst Cloud (OpenStack client tools, shade) in a virtual environment.

Run install-ansible.sh -v latest to install the latest version of Ansible. Run the source command printed by the script to activate the virtual environment and set up Ansible environment variables.

Run which ansible and ansible --version to confirm the correct version of Ansible is being used.

Sample Playbooks

The cookbooks directory provides code examples that demonstrate how to perform common operation with Ansible, such as loops, dict lookups, etc.

All other directories are named after specific services provided by the Catalyst Cloud and illustrate how to use them via Ansible.