• Stars
    star
    167
  • Rank 226,635 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Playbook for creating/managing a Docker Swarm cluster

Ansible Swarm Playbook

Playbook for creating/managing a Docker Swarm cluster (requires Docker >= 1.12).

Companion files to the following post: https://thisendout.com/2016/09/13/deploying-docker-swarm-with-ansible/

Assumptions

This playbook assumes a running Docker daemon on the hosts and that the following Ansible inventory groups have been populated: manager and worker.

Variables

You can override the swarm_iface variable in Ansible to determine the listening interface for your swarm hosts.

swarm.yml vs. swarm-facts.yml

The swarm.yml playbook uses a shell statement for determining cluster membership where the swarm-facts.yml playbook uses the docker_info_facts module for injecting Docker info as facts then checking cluster membership against that.

More Repositories

1

sempl

Stupid Simple Bash Templating
Shell
106
star
2

terraform-rancher-ha-example

Terraform files for deploying a Rancher HA cluster in AWS
HCL
61
star
3

rancher-vagrant

Extensible and automated local Rancher environments using Vagrant
Ruby
18
star
4

ansible-docker-registry

Ansible role for installing docker registry
Ruby
14
star
5

fauxcli

Mocks a command line client from a given YAML file
Go
14
star
6

docker-freeradius

FreeRadius Docker Files
8
star
7

puppet-automysqlbackup

Puppet module for deploying automysqlbackup
Ruby
7
star
8

env2ini

Creates and updates INI files from environment variables
Go
6
star
9

docker-registry-ui

A simple web UI for browsing private docker registries
Python
6
star
10

consul-rancher

Docker and Rancher files for easily deploying Consul, Consul Agent, and Registror
Shell
5
star
11

kubernetes-docset-generator

Scripts for generating the Kubernetes Dash docset
Shell
5
star
12

vagrant-rancher

Vagrant plugin to install a Rancher server and agents on all Vagrant guests.
Ruby
4
star
13

brackets-puppet-syntax

Puppet syntax highlighter for the Brackets editor
JavaScript
3
star
14

go-runscope

Go Library for interacting with the Runscope API
Go
2
star
15

sapt

s3 apt repo management utility
Go
2
star
16

ops-packer

Packer template and files for creating a Vagrant box ready to go with OpenSwitch
Shell
2
star
17

gotmpl

CLI tool for rendering templates that supports environment variables, variable files, and inline encryption
Go
2
star
18

jjb-docset-generator

Script to generate a dash docset for Jenkins Job Builder
Shell
2
star
19

electron-react-reflux-photon-example

Simple app example that incorporates electron, react, react-router, reflux, and photon.
CSS
1
star
20

ops-playground

A set of examples for playing with OpenSwitch
1
star
21

puppet-flowtools

Puppet module to install flow-tools and manage flow-capture
Ruby
1
star
22

rsc

Runscope Command Line Client
Go
1
star
23

jenkins-gitflow-example

Reference for a gitflow job workflow
Shell
1
star
24

hydromonitor

A web UI for managing and visualizing your Tilt devices
CSS
1
star