mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 00:28:05 +02:00
Update to 2023-07-08 16:00
This commit is contained in:
@@ -6,11 +6,6 @@
|
||||
notify: restart consul
|
||||
tags: consul
|
||||
|
||||
- name: Deploy consul service wrapper
|
||||
template: src=consul.sh.j2 dest={{ consul_root_dir }}/bin/consul mode=755
|
||||
notify: restart consul
|
||||
tags: consul
|
||||
|
||||
- name: Install backup hooks
|
||||
template: src={{ item }}-backup.j2 dest=/etc/backup/{{ item }}.d/consul mode=755
|
||||
loop:
|
||||
@@ -31,14 +26,8 @@
|
||||
when: consul_tmpfiles.changed
|
||||
tags: consul
|
||||
|
||||
- name: Install vault agent unit file
|
||||
template: src=vault/agent.service.j2 dest=/etc/systemd/system/consul-vault-agent.service
|
||||
register: consul_vault_agent_unit
|
||||
notify: restart consul-vault-agent
|
||||
tags: consul
|
||||
|
||||
- name: Reload systemd
|
||||
systemd: daemon_reload=True
|
||||
when: consul_unit.changed or consul_vault_agent_unit.changed
|
||||
when: consul_unit.changed
|
||||
tags: consul
|
||||
|
||||
|
Reference in New Issue
Block a user