Update to 2022-08-29 11:00

This commit is contained in:
Daniel Berteaud
2022-08-29 11:00:17 +02:00
parent f17ab3267b
commit b213df4df4
30 changed files with 282 additions and 29 deletions

View File

@@ -1,11 +1,11 @@
---
# Version of consul to deploy
consul_version: 1.12.3
consul_version: 1.13.1
# URL from where the consul archive will be downloaded
consul_archive_url: https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_linux_amd64.zip
# Expected sha256 of the archive
consul_archive_sha256: 620a47cfba34bdf918b4c3238d22f6318b29403888cfd927c6006a4ac1b1c9f6
consul_archive_sha256: 7f8f69b631114e0a021b602a1975e0221912b8b33ef20ead1589d6f6581c5579
# user account under which consul will run (will be created if needed)
consul_user: consul

View File

@@ -8,7 +8,7 @@
command: "{{ consul_root_dir }}/bin/consul snapshot save {{ consul_root_dir }}/archives/{{ consul_current_version }}/consul.snap"
args:
creates: "{{ consul_root_dir }}/archives/{{ consul_current_version }}/consul.snap"
failed_when: False # If consul is not running, it'll fail, just continue
when: consul_conf.server
environment:
CONSUL_TOKEN: "{{ consul_mgm_token | default(omit) }}"
tags: consul