Skip to content

retr0h/ansible-etcd

Repository files navigation

etcd

A role which installs and manages a clustered etcd.

Role ready status

Build Status Galaxy

Requirements

  • Ansible 2.2
  • Rsync
  • SSL libraries
  • IProute2

Role Variables

In order to accommodate a variety of different OSes, ansible-etcd uses a set of OS-family specific variable files located in /var. These files are included selectively when you run the default playbook. As a result, if you would like to deploy to multiple different OS families, you need to call the playbook multiple times, as the playbook includes variables only for the first detected OS.

Dependencies

There are no dependencies of ansible-etcd. If you are deploying to CoreOS, however, it is assumed that you have already bootstapped python per coreos-bootstrap.

Example Playbook

- hosts: redhat-hosts
  roles:
    - retr0h.etcd

- hosts: debian-hosts
  roles:
    - retr0h.etcd

Testing

Tests are performed by Molecule.

$ tox

License

MIT