Ansible role to install and configure Consul
- To install and configure consul agent
roles:
- wunzeco.consul
- To configure server as consul master:
vars:
consul_home: "/opt/consul"
consul_extra_opts: "-server -bootstrap-expect 1 -ui-dir {{ consul_work_dir }}/ui"
roles:
- wunzeco.consul
To run this role's integration tests
PLATFORM=ubuntu # OR centos
kitchen verify $PLATFORM && kitchen destroy $PLATFORM
none