mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
add consul role for consul installation
This commit is contained in:
parent
da181b44a8
commit
0cac1d51d5
1 changed files with 12 additions and 0 deletions
12
ansible/roles/consul/tasks/main.yml
Normal file
12
ansible/roles/consul/tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- name: Ensure group "consul" exists
|
||||
become: true
|
||||
ansible.builtin.group:
|
||||
name: consul
|
||||
state: present
|
||||
- name: Install Consul
|
||||
apt:
|
||||
name: consul
|
||||
- name: Create config file
|
||||
ansible.builtin.template:
|
||||
src: /srv/newsblur/consul/consul.json.j2
|
||||
dest: /consul.json
|
Loading…
Add table
Reference in a new issue