Initial start
This commit is contained in:
parent
fa1d72d026
commit
9d9b8fefd4
4 changed files with 40 additions and 0 deletions
8
roles/consul/defaults/main.yml
Normal file
8
roles/consul/defaults/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
consul__base_packages: [ 'rsync', 'openssl', 'ca-certificates', 'unzip' ]
|
||||||
|
consul__packages: []
|
||||||
|
consul__dependent_packages: []
|
||||||
|
consul__user: 'consul'
|
||||||
|
consul__group: 'consul'
|
||||||
|
consul__home: '{{ (ansible_local.fhs.home | d("/opt"))
|
||||||
|
+ "/" + consul__user }}'
|
27
roles/consul/meta/main.yml
Normal file
27
roles/consul/meta/main.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
# Ensure that custom Ansible plugins and modules included in the main DebOps
|
||||||
|
# collection are available to roles in other collections.
|
||||||
|
collections: [ 'debops.debops' ]
|
||||||
|
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
|
galaxy_info:
|
||||||
|
|
||||||
|
author: 'Eric Renfro'
|
||||||
|
description: 'Install and Configure Consul'
|
||||||
|
company: 'Linux-Hel['
|
||||||
|
license: 'GPL-3.0-or-later'
|
||||||
|
min_ansible_version: '2.9.0'
|
||||||
|
platforms:
|
||||||
|
- name: Debian
|
||||||
|
versions:
|
||||||
|
- buster
|
||||||
|
- bullseye
|
||||||
|
- name: Ubuntu
|
||||||
|
versions:
|
||||||
|
- bionic
|
||||||
|
- focal
|
||||||
|
galaxy_tags:
|
||||||
|
- debops
|
||||||
|
- system
|
||||||
|
- monitoring
|
5
roles/consul/tasks/main.yml
Normal file
5
roles/consul/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- import_role:
|
||||||
|
name: 'secret'
|
||||||
|
|
||||||
|
- name: Ensure repositories are setup
|
0
roles/consul/vars/main.yml
Normal file
0
roles/consul/vars/main.yml
Normal file
Loading…
Reference in a new issue