Update to 2024-06-17 10:01

This commit is contained in:
Daniel Berteaud 2024-06-17 10:01:05 +02:00
parent a55c54a1c5
commit 8590b558e8
15 changed files with 80 additions and 8 deletions

View File

@ -1,8 +1,8 @@
---
# Version of consul to deploy
consul_version: 1.18.2
consul_version: 1.19.0
# 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: 522045180a4e644af6e2d97824850b470545f176aabdb4898635afda512a6a3f
consul_archive_sha256: e337fba12295fc7bab177a84a7616eb8bcc827f032a2982c8c0e417fbe86541f

View File

@ -0,0 +1,8 @@
---
consul_cni_version: 1.5.0
consul_cni_archive_url: https://releases.hashicorp.com/consul-cni/{{ consul_cni_version }}/consul-cni_{{ consul_cni_version }}_linux_amd64.zip
consul_cni_archive_sha256: d81091300c65dd60b929e8ead15158e7a38b7f700c49141d7241e691a511f09d
# Must be the same as cni_root_dir
consul_cni_root_dir: /opt/cni

View File

@ -0,0 +1,4 @@
---
dependencies:
- role: cni_plugins

View File

@ -0,0 +1,7 @@
---
- name: Remove tmp and obsolete files
file: path={{ item }} state=absent
loop:
- "{{ cni_root_dir }}/tmp/consul-cni_{{ consul_cni_version }}_linux_amd64.zip"
tags: cni

View File

@ -0,0 +1,12 @@
---
# Detect installed version (if any)
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ consul_cni_root_dir }}"
- version: "{{ consul_cni_version }}"
- version_file: consul_cni_version
- set_fact: consul_cni_install_mode={{ install_mode }}
- set_fact: consul_cni_current_version={{ current_version | default('') }}
tags: cni

View File

@ -0,0 +1,19 @@
---
- when: consul_cni_install_mode != 'none'
block:
- name: Download the CNI plugins
get_url:
url: "{{ consul_cni_archive_url }}"
dest: "{{ consul_cni_root_dir }}/tmp"
checksum: sha256:{{ consul_cni_archive_sha256 }}
- name: Extract archive
unarchive:
src: "{{ consul_cni_root_dir }}/tmp/consul-cni_{{ consul_cni_version }}_linux_amd64.zip"
dest: "{{ consul_cni_root_dir }}/bin/"
include: ["consul-cni"]
remote_src: true
tags: cni

View File

@ -0,0 +1,14 @@
---
- include_tasks: facts.yml
tags: always
- include_tasks: install.yml
tags: always
- include_tasks: write_version.yml
tags: always
- include_tasks: cleanup.yml
tags: always

View File

@ -0,0 +1,5 @@
---
- name: Write installed version
copy: content={{ consul_cni_version }} dest={{ consul_cni_root_dir }}/meta/consul_cni_version
tags: cni

View File

@ -1,11 +1,11 @@
---
# Version of consul-template to install
consul_tpl_version: 0.37.6
consul_tpl_version: 0.38.1
# URL of the archive
consul_tpl_archive_url: https://releases.hashicorp.com/consul-template/{{ consul_tpl_version }}/consul-template_{{ consul_tpl_version }}_linux_amd64.zip
# Expected sha256 of the archive
consul_tpl_archive_sha256: b28c97b954cdc04f8793ea233614054f39a30e6d81a6e957ed1c6bc864369f50
consul_tpl_archive_sha256: 0014faa80000b767802643c34689852a3de80616dac4770a765d0073bb44a892
# Root dir where consul-template will be installed
consul_tpl_root_dir: /opt/consul_template

View File

@ -5,12 +5,12 @@
# You can set it to a number or a simple string (no special chars)
kimai_id: 1
# Kimai version to deploy
kimai_version: '2.17.0'
kimai_version: '2.18.0'
# URL of the archive
kimai_archive_url: https://github.com/kevinpapst/kimai2/archive/refs/tags/{{ kimai_version }}.tar.gz
# Expected sha256 of the archive
kimai_archive_sha256: 354a308c513f0bf0296b5acd15733a14940657f7ee0c460c721ce7e3a168cd52
kimai_archive_sha256: e6a0982470665c6b08c25117b0da621f1ad0ce5cc9a3f07c4e63361a38b9cd56
# Directory where kimai will be installed
kimai_root_dir: /opt/kimai_{{ kimai_id }}
# Should ansible handle upgrades or only initial install

View File

@ -15,6 +15,7 @@ WorkingDirectory=/usr/share/lemonldap-ng/llng-server
ExecStart=/usr/sbin/uwsgi \
--plugin psgi \
--psgi llng-server.psgi \
--perl-no-die-catch \
--plugin systemd_logger \
--logger systemd \
--socket /run/llng-uwsgi/llng-uwsgi.sock \

View File

@ -1,7 +1,7 @@
---
# Version to deploy
n8n_version: 1.42.1
n8n_version: 1.44.1
# Root directory where n8n will be installed
n8n_root_dir: /opt/n8n
# User account under which n8n will run

View File

@ -6,5 +6,5 @@ dependencies:
when: nomad_conf.client.enabled and nomad_conf.client.task_drivers['containerd-driver'].enabled # with containerd, we need docker repo to install containerd.io
- role: docker
when: nomad_conf.client.enabled and nomad_conf.client.task_drivers.docker.enabled
- role: cni_plugins
- role: consul_cni
when: nomad_conf.client.enabled

View File

@ -6,6 +6,7 @@ After=network.service
Type=simple
User={{ odoo_user }}
Group={{ odoo_user }}
Environment=PYTHONPATH={{ odoo_root_dir }}/app
ExecStart={{ odoo_root_dir }}/venv/bin/python3 {{ odoo_root_dir }}/app/setup/odoo -c {{ odoo_root_dir }}/etc/odoo-server.conf --proxy-mode{% if not odoo_db_manager %} --no-database-list{% endif %}
PrivateTmp=yes

View File

@ -17,6 +17,7 @@ www.internic.net
tzurl.org
gitlab.com
archive.apache.org
downloads.apache.org
www.apache.org
dlcdn.apache.org
ftp.gnu.org