Update to 2022-09-22 16:00

This commit is contained in:
Daniel Berteaud
2022-09-22 16:00:09 +02:00
parent 8b40e52ebe
commit 529151748a
4 changed files with 58 additions and 5 deletions

View File

@@ -122,11 +122,6 @@
when: nomad_vault_secrets.pki.enabled or nomad_vault_secrets.consul_pki.enabled
tags: nomad
- name: Reload systemd
systemd: daemon_reload=True
when: nomad_unit.changed or (nomad_consul_tpl_unit is defined and nomad_consul_tpl_unit.changed)
tags: nomad
- name: Install backup hooks
template: src={{ item }}-backup.j2 dest=/etc/backup/{{ item }}.d/nomad mode=755
loop:
@@ -134,3 +129,17 @@
- post
tags: nomad
- name: Install iptables cleanup script
copy: src=iptables_cleanup.pl dest={{ nomad_root_dir }}/bin/iptables_cleanup.pl mode=755
tags: nomad
- name: Install iptables-nomad-cleanup unit
template: src=iptables-nomad-cleanup.service.j2 dest=/etc/systemd/system/iptables-nomad-cleanup.service
register: nomad_ipt_cleanup_unit
tags: nomad
- name: Reload systemd
systemd: daemon_reload=True
when: nomad_unit.changed or nomad_ipt_cleanup_unit.changed or (nomad_consul_tpl_unit is defined and nomad_consul_tpl_unit.changed)
tags: nomad