Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devkyt/ansible-role-nomad
Ansible role for setting up Nomad
https://github.com/devkyt/ansible-role-nomad
ansible ansible-role automation hashicorp nomad
Last synced: 4 months ago
JSON representation
Ansible role for setting up Nomad
- Host: GitHub
- URL: https://github.com/devkyt/ansible-role-nomad
- Owner: devkyt
- License: mit
- Created: 2024-09-17T09:08:54.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T10:39:05.000Z (5 months ago)
- Last Synced: 2024-09-30T02:34:16.031Z (4 months ago)
- Topics: ansible, ansible-role, automation, hashicorp, nomad
- Language: Jinja
- Homepage:
- Size: 7.81 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-nomad/actions/workflows/ci.yml/badge.svg)
# Ansible Role: Nomad
Setup Hashicorp Nomad on RHEL and Debian servers.## Requirements
- Ansible >= 2.15
- Run with ```become: true``` for a role or the entire playbook## Variables
This role supports three variables:
```yaml
# Nomad version
version: 1.8.3# Type of Nomad service
type: client# Path to Nomad configuration file
config: /path/to/config/client.hcl# Wait or not for Consul startup before run Nomad
wait_for_consul: false
```
Examples of configurations for both server and client can be found
in examples/config folder.## How to Use
It's pretty straightforward. Just include role in a playbook:
```yaml
- hosts: all
become: true
roles:
- role: devkyt.nomad
vars:
version: 1.8.3
type: client
config: /path/to/config/client.hcl
wait_for_consul: false```
## Author
Created by Kyrylo Tykhanskyi in the rainy September of 2024.