diff --git a/CHANGELOG.md b/CHANGELOG.md index a3c98a82..059dd51a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -217,3 +217,7 @@ - Update/validate CentOS 7 box - Update documentation - Updated failure cases for CentOS + +## v1.3.4 + +- Update documentation diff --git a/README.md b/README.md index f8f28ff5..9286dcb9 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ software and versions: ## Role Variables -The role defines variables in `defaults/main.yml`: +The role defines variables in `defaults/main.yml` and in the hosts +inventory file (see below): | Name | Default Value | Description | | -------------- | ------------- | -----------------------------------| @@ -64,6 +65,26 @@ The role defines variables in `defaults/main.yml`: | `consul_atlas_infrastructure` | Environment variable | Atlas infrastructure name | | `consul_atlas_token` | environment variable | Atlas token | +### Host Inventory Variable + +This role also uses a host inventory variable to define the server's role +when forming a cluster. One server should be designated as the bootstrap +server that uses the `bootstrap_expect` configuration directive, and the other +servers will connect to this server. + +| Name | Default Value | Description | +| -------------- | ------------- | -----------------------------------| +| `consul_node_role` | NONE | Consul server role, one of: *bootstrap*, *server*, or *client* | + +Here is an example of how the hosts inventory could be defined for a simple +cluster of 3 servers: + +``` +consul1.local consul_node_role=bootstrap +consul2.local consul_node_role=server +consul3.local consul_node_role=server +``` + ### OS Distribution Variables The `consul` binary works on most Linux platforms and is not distribution diff --git a/version.txt b/version.txt index ea7786a3..043ba4f6 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.3.3 +v1.3.4