Create Rancher Environments with Ansible

on Oct 4, 2017

Attention, Ansible users! We’ve released the first version of our Ansible playbooks for Rancher. Ansible is a configuration management system that allows you to write instruction manuals it uses to manage local and remote systems. These playbooks give full control over the installation and configuration of Rancher server and agent nodes, with features that include:

  • Static inventory
  • Dynamic inventory via EC2 tags
  • Detection of multiple servers and automatic configuration of HA
  • Support for local, bind-mount, and external databases
  • Optional, local HAProxy with SSL termination for single-server deployments
  • Ansible Vault for secure storage of secrets

This first release is for Ubuntu and Debian, and it targets EC2 as a provider. Upcoming releases will support yum-based systems (RHEL, CentOS, and Fedora) and will add support for other providers for whom dynamic inventory modules exist.

To get started, visit our Ansible playbooks repository on GitHub. There you will find instructions for general installation and setting up EC2.

Free Online Training

Want a crash course in using Rancher?

Join us for free online training courses, hosted monthly by a Rancher technical expert. We provide a great hands-on overview for new users setting up a Rancher deployment, and answer any and all questions you have about Rancher and how to integrate it into your DevOps processes!

Sign up

Recent Posts

Upcoming Events

  • ...we've got no upcoming events at the moment. But we'll be changing that shortly.