Update to 2023-03-08 21:00

This commit is contained in:
Daniel Berteaud 2023-03-08 21:00:12 +01:00
parent 41240aa121
commit 1f83a5a24e
5 changed files with 9 additions and 5 deletions

View File

@ -1,11 +1,11 @@
--- ---
# Version of consul to deploy # Version of consul to deploy
consul_version: 1.15.0 consul_version: 1.15.1
# URL from where the consul archive will be downloaded # 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 consul_archive_url: https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_linux_amd64.zip
# Expected sha256 of the archive # Expected sha256 of the archive
consul_archive_sha256: 62a358ff2c3c08d19f15a92ea3130b05b547ab5a767ae13454eab7655a718c24 consul_archive_sha256: 23f7eb0461dd01a95c5d56472b91c22d5dacec84f31f1846c0c9f9621f98f29f
# user account under which consul will run (will be created if needed) # user account under which consul will run (will be created if needed)
consul_user: consul consul_user: consul

View File

@ -13,4 +13,7 @@
service: name=php{{ item }}-php-fpm state=started enabled=True service: name=php{{ item }}-php-fpm state=started enabled=True
with_items: "{{ httpd_php_versions }}" with_items: "{{ httpd_php_versions }}"
- name: systemd-tmpfiles
command: systemd-tmpfiles --create
... ...

View File

@ -5,12 +5,12 @@
# You can set it to a number or a simple string (no special chars) # You can set it to a number or a simple string (no special chars)
kimai_id: 1 kimai_id: 1
# Kimai version to deploy # Kimai version to deploy
kimai_version: '1.30.10' kimai_version: '1.30.11'
# URL of the archive # URL of the archive
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
# Expected sha256 of the archive # Expected sha256 of the archive
kimai_archive_sha256: 9299fe7cf1378a66e2fa6ae5a809529d457dd8a5b3f5caba0759fef3a07247a0 kimai_archive_sha256: 0800ed6321bb5ec1e3fbd984a1b44b5d6adb92ca16475a7194f4d6835139f30b
# Directory where kimai will be installed # Directory where kimai will be installed
kimai_root_dir: /opt/kimai_{{ kimai_id }} kimai_root_dir: /opt/kimai_{{ kimai_id }}

View File

@ -26,6 +26,7 @@
- dir: data - dir: data
owner: "{{ nomad_user }}" owner: "{{ nomad_user }}"
group: "{{ nomad_user }}" group: "{{ nomad_user }}"
mode: 700
- dir: plugins - dir: plugins
owner: "{{ nomad_user }}" owner: "{{ nomad_user }}"
group: "{{ nomad_user }}" group: "{{ nomad_user }}"

View File

@ -24,7 +24,7 @@
- when: nomad_bin.stat.exists - when: nomad_bin.stat.exists
block: block:
- name: Detect installed version - name: Detect installed version
shell: /usr/local/bin/nomad version | perl -pe 's/Nomad v(\d+(\.\d+)*)\s.*/$1/' shell: /usr/local/bin/nomad version | perl -ne '/Nomad v(\d+(\.\d+)*)\s.*/ && print "$1\n"'
changed_when: False changed_when: False
register: nomad_current_version register: nomad_current_version
- set_fact: nomad_current_version={{ nomad_current_version.stdout }} - set_fact: nomad_current_version={{ nomad_current_version.stdout }}