Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devkyt/ansible-role-consul
Ansible role for setting up Consul
https://github.com/devkyt/ansible-role-consul
ansible ansible-role automation consul hashicorp
Last synced: about 1 month ago
JSON representation
Ansible role for setting up Consul
- Host: GitHub
- URL: https://github.com/devkyt/ansible-role-consul
- Owner: devkyt
- License: mit
- Created: 2024-09-12T14:35:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T09:44:02.000Z (5 months ago)
- Last Synced: 2024-11-12T00:16:59.323Z (3 months ago)
- Topics: ansible, ansible-role, automation, consul, hashicorp
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![ci](https://github.com/devkyt/ansible-role-consul/actions/workflows/ci.yml/badge.svg)
# Ansible Role: Consul
Setup Hashicorp Consul on RHEL and Debian servers.## Requirements
- Ansible >= 2.15
- Run with ```become: true``` for a role or the entire playbook## Variables
This role supports only two variables: a version of Consul which you want to setup
and the path to config file. Examples of configurations for both server and client can be found
in examples/config folder.
```yaml
# Consul version
version: 1.19.1# Path to Consul configuration file
config: /path/to/config/client.hcl
```## How to Use
It's pretty straightforward. Just include role in a playbook:
```yaml
- hosts: all
become: true
roles:
- role: devkyt.consul
vars:
version: 1.19.1
config: /path/to/config/client.hcl```
## Author
Created by Kyrylo Tykhanskyi in the rainy September of 2024.