mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-07-23 14:00
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Deploy consul configuration
|
||||
template: src=consul.json.j2 dest={{ consul_root_dir }}/etc/consul.json owner=root group={{ consul_user }} mode=640
|
||||
notify: reload consul
|
||||
template:
|
||||
src: consul.json.j2
|
||||
dest: "{{ consul_root_dir }}/etc/consul.json"
|
||||
owner: root
|
||||
group: "{{ consul_user }}"
|
||||
mode: 640
|
||||
validate: consul validate %s
|
||||
notify: restart consul
|
||||
tags: consul
|
||||
|
@@ -53,3 +53,9 @@
|
||||
when: consul_unit.changed
|
||||
tags: consul
|
||||
|
||||
- name: Install backup hooks
|
||||
template: src={{ item }}-backup.j2 dest=/etc/backup/{{ item }}.d/consul mode=755
|
||||
loop:
|
||||
- pre
|
||||
- post
|
||||
tags: consul
|
||||
|
Reference in New Issue
Block a user