Update to 2023-04-11 15:00

This commit is contained in:
Daniel Berteaud 2023-04-11 15:00:42 +02:00
parent 2a3d56fddc
commit 138c0bf3b2
55 changed files with 113 additions and 79 deletions

View File

@ -5,4 +5,4 @@ bb_version: 1.3.176
# URL of the archive
bb_archive_url: https://github.com/babashka/babashka/releases/download/v{{ bb_version }}/babashka-{{ bb_version }}-linux-amd64-static.tar.gz
# Expected sha256sum of the archive
bb_archive_sha256: d93770c3fa03b81652db19d14e181406841d75756731ad6b1196929ea0cd183b
bb_archive_sha256: b1772d2b04399ed981803b380307888a58068803ecf2c0cd22c43e83b811a9f8

View File

@ -1,11 +1,11 @@
---
# Version of consul to deploy
consul_version: 1.15.1
consul_version: 1.15.2
# 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: 23f7eb0461dd01a95c5d56472b91c22d5dacec84f31f1846c0c9f9621f98f29f
consul_archive_sha256: 21e6c204f8dfdfde63eed5853fbf5a84d414299a111ad6b66da36d00db6414e9
# user account under which consul will run (will be created if needed)
consul_user: consul
@ -183,3 +183,14 @@ consul_base_services:
consul_extra_services: {}
consul_host_services: {}
consul_services: "{{ consul_base_services | combine(consul_extra_services, recursive=True) | combine(consul_host_services, recursive=True) }}"
# Services can be manually registered on the catalog
# consul_extra_catalog_services:
# service-id:
# name: my-service
# address: 10.1.0.26
# port: 8080
consul_base_catalog_services: {}
consul_extra_catalog_services: {}
consul_host_catalog_services: {}
consul_catalog_services: "{{ consul_base_catalog_services | combine(consul_extra_catalog_services, recursive=True) | combine(consul_host_catalog_services, recursive=True) }}"

View File

@ -6,3 +6,12 @@ node_meta {
{% endfor %}
}
{% for service in consul_catalog_services.keys() | list %}
services {
id = "{{ service }}"
name = "{{ consul_extra_catalog_services[service].name }}"
address = "{{ consul_extra_catalog_services[service].address }}"
port = {{ consul_extra_catalog_services[service].port }}
}
{% endfor %}

View File

@ -1,11 +1,11 @@
---
# Version of consul-template to install
consul_tpl_version: 0.30.0
consul_tpl_version: 0.31.0
# 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: c78db0f0eecc4d314a5130e3b4c8bd17086c6cd9080c4caf69c606de67cbe212
consul_tpl_archive_sha256: e622fd89e731882264f170ede87023546a306f07bad42e816468223d5a6d57f4
# Root dir where consul-template will be installed
consul_tpl_root_dir: /opt/consul_template

View File

@ -10,7 +10,7 @@
- name: Backup the database (PostgreSQL)
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ documize_db_server }}

View File

@ -5,7 +5,7 @@
name:
- tar
- zstd
- postgresql14
- postgresql15
tags: documize
- name: Download documize

View File

@ -13,14 +13,14 @@ set -eo pipefail
--add-drop-table {{ documize_db_name | quote }} | zstd -c > "{{ documize_root_dir }}/backup/{{ documize_db_name }}.sql.zst"
{% elif documize_db_engine == 'postgres' %}
{% if documize_db_server not in ['127.0.0.1','localhost'] %}
PGPASSWORD={{ documize_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \
PGPASSWORD={{ documize_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ documize_db_user | quote }} \
--host={{ documize_db_server | quote }} \
{{ documize_db_name | quote }} | \
{% else %}
su - postgres -c "/usr/pgsql-14/bin/pg_dump --clean --create {{ documize_db_name | quote }}" | \
su - postgres -c "/usr/pgsql-15/bin/pg_dump --clean --create {{ documize_db_name | quote }}" | \
{% endif %}
zstd -c > "{{ documize_root_dir }}/backup/{{ documize_db_name }}.sql.zst"
{% endif %}

View File

@ -19,7 +19,7 @@
- name: Archive a database dump
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ funkwhale_db_server }}

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD={{ funkwhale_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \
PGPASSWORD={{ funkwhale_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ funkwhale_db_user | quote }} \

View File

@ -3,7 +3,7 @@
funkwhale_packages:
- gcc
- git
- postgresql14
- postgresql15
- postgresql-devel
- openldap-devel
- cyrus-sasl-devel

View File

@ -3,7 +3,7 @@
funkwhale_packages:
- gcc
- git
- postgresql14
- postgresql15
- postgresql-devel
- openldap-devel
- cyrus-sasl-devel

View File

@ -20,7 +20,7 @@
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ mailman_db_server | quote }}

View File

@ -6,7 +6,7 @@ set -eo pipefail
{% if mailman_db_engine == 'postgres' %}
{% if mailman_db_server not in ['localhost', '127.0.0.1'] %}
PGPASSWORD={{ mailman_db_pass | quote }} \
/usr/pgsql-14/bin/pg_dump \
/usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ mailman_db_user | quote }} \
@ -15,7 +15,7 @@ PGPASSWORD={{ mailman_db_pass | quote }} \
{{ mailman_db_name[db] }} | \
zstd -c > {{ mailman_root_dir }}/backup/{{ mailman_db_name[db] }}.sql.zst
{% else %}
su - postgres -c "/usr/pgsql-14/bin/pg_dump --clear {{ mailman_db_name[db] }}" | \
su - postgres -c "/usr/pgsql-15/bin/pg_dump --clear {{ mailman_db_name[db] }}" | \
{% endif %}
zstd -c > {{ mailman_root_dir }}/backup/{{ mailman_db_name[db] }}.sql.zst
{% else %}

View File

@ -5,8 +5,8 @@
element_id: element
# Version to deploy, and expected sha256
element_version: 1.11.26
element_archive_sha256: 0821f96eafe0e46c15a9e0fadc6a4f4a185d77cde2c764f59b3a22403fefb0e6
element_version: 1.11.27
element_archive_sha256: 6d02e197017e1fa7e4f9418a55ed2435baeffd1d3f670f4706dcc62336913ea2
# Where to install element
element_root_dir: /opt/matrix/element

View File

@ -19,7 +19,7 @@
- name: Archive a database dump
shell: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ synapse_pg_db_server }}

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ synapse_pg_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ synapse_pg_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ synapse_pg_db_user }} \

View File

@ -17,7 +17,7 @@ synapse_packages:
- libtool
- autoconf
- automake
- postgresql14
- postgresql15
- postgresql-devel
- libpqxx-devel
- jemalloc

View File

@ -17,7 +17,7 @@ synapse_packages:
- libtool
- autoconf
- automake
- postgresql14
- postgresql15
- postgresql-devel
- jemalloc
- python39-pip

View File

@ -39,7 +39,7 @@
- name: Dump the database
shell: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ metabase_db_server }}

View File

@ -98,7 +98,7 @@
- when: metabase_db_engine == 'postgres'
block:
- name: Install postgresql client
package: name=postgresql14
package: name=postgresql15
- name: Create postgres user
postgresql_user:

View File

@ -13,7 +13,7 @@ set -eo pipefail
--quick --single-transaction \
--add-drop-table {{ metabase_db_name | quote }} | zstd -c > {{ metabase_root_dir }}/backup/{{ metabase_db_name }}.sql.zst
{% elif metabase_db_engine == 'postgres' %}
PGPASSWORD={{ metabase_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \
PGPASSWORD={{ metabase_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ metabase_db_user }} \

View File

@ -10,7 +10,7 @@
- name: Backup the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ miniflux_db_server }}

View File

@ -5,7 +5,7 @@
name:
- tar
- zstd
- postgresql14
- postgresql15
tags: miniflux
- name: Download miniflux

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ miniflux_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ miniflux_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ miniflux_db_user | quote }} \

View File

@ -15,6 +15,8 @@ map $sent_http_content_type $is_client_cacheable {
application/font-woff 1;
application/vnd.ms-fontobject 1;
application/vnd.ms-opentype 1;
# application/octet-stream 1;
application/wasm 1;
}
map $request_uri $is_proxy_cacheable {

View File

@ -16,8 +16,12 @@ gzip_types
font/opentype
font/ttf
application/font-woff
application/x-font-ttf
application/vnd.ms-fontobject
application/vnd.ms-opentype;
application/vnd.ms-opentype
application/wasm
application/rtf
application/octet-stream;
gzip_vary on;
gzip_disable "msie6";
expires $custom_expires;

View File

@ -7,7 +7,7 @@
- name: Install postgresql client
package:
name:
- postgresql14
- postgresql15
tags: odoo
- name: Stop the server during upgrade
@ -29,7 +29,7 @@
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ odoo_db_server | quote }}

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD={{ odoo_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \
PGPASSWORD={{ odoo_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \
--format=custom \
--clean \
--username={{ odoo_db_user }} \

View File

@ -12,6 +12,6 @@ odoo_packages:
#- nodejs-less
- tar
- zstd
- postgresql14 # for pg_dump
- postgresql15 # for pg_dump
odoo_venv_command: /bin/python3.9 -m venv

View File

@ -7,7 +7,7 @@
- name: Install postgresql client
package:
name:
- postgresql14
- postgresql15
tags: ged
- name: Archive previous version
@ -25,7 +25,7 @@
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ paperless_db_server | quote }}

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ paperless_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ paperless_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ paperless_db_user | quote }} \

View File

@ -12,6 +12,7 @@
- libjson-perl
- libterm-readkey-perl
- libhash-merge-simple-perl
- libhtml-strip-perl
- acl
tags: patrix

View File

@ -1,7 +1,7 @@
---
# Penpot version to deploy
penpot_version: 1.17.1
penpot_version: 1.18.1
# SHould ansible manage upgrades. If False, only the initial install will be done
penpot_manage_upgrade: True
@ -10,7 +10,7 @@ penpot_root_dir: /opt/penpot
# URL of the archive
penpot_archive_url: https://github.com/penpot/penpot/archive/refs/tags/{{ penpot_version }}.tar.gz
# Expected sha256 of the archive
penpot_archive_sha256: 68b2397fe9d994f1ba3e1cf38b2e280853c978bccad202fcceed67f2cc1d627c
penpot_archive_sha256: 85d340b136f54013e857af0a00d70c6049ae48b9122677fd08f37f297cf418b8
# User under which penpot will run. Will be created
penpot_user: penpot

View File

@ -24,9 +24,13 @@
- etc
tags: penpot
- name: Install postgresql client
package: name=postgresql15
tags: penpot
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ penpot_db_server | quote }}

View File

@ -23,6 +23,10 @@ server {
add_header Cache-Control "no-cache, max-age=0" always;
}
location /api/export {
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
}
location /api {
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/api;
}
@ -31,10 +35,6 @@ server {
proxy_pass http://localhost:{{ penpot_ports['backend'] }}/dbg;
}
location /export {
proxy_pass http://localhost:{{ penpot_ports['exporter'] }};
}
location /ws/notifications {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ penpot_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ penpot_db_user | quote }} \

View File

@ -13,7 +13,7 @@ SHOW_GRAVATAR_IMAGE=False
SECURITY_EMAIL_SENDER='no-reply@{{ ansible_domain }}'
UPGRADE_CHECK_ENABLED=False
DEFAULT_BINARY_PATHS = {
"pg": "/usr/pgsql-14/bin/"
"pg": "/usr/pgsql-15/bin/"
}
{% if pga_auth | length >= 1 %}
AUTHENTICATION_SOURCES=['{{ pga_auth | join('\',\'') }}']

View File

@ -4,7 +4,7 @@ pgadmin4_packages:
- gcc
- postgresql
- postgresql-devel
- postgresql14
- postgresql15
- python3-virtualenv
- python3-pip
- python-setuptools # Needed for pip install expect

View File

@ -4,7 +4,7 @@ pgadmin4_packages:
- gcc
- postgresql
- postgresql-devel
- postgresql14
- postgresql15
- python3-virtualenv
- python3-pip
- python3-setuptools # Needed for pip install expect

View File

@ -1,9 +1,9 @@
[postgresql-client]
baseurl = https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch
baseurl = https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-$releasever-$basearch
gpgcheck = 1
gpgkey = https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-14
gpgkey = https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-15
name = PostgreSQL Client
includepkgs = postgresql14 postgresql14-libs
includepkgs = postgresql15 postgresql15-libs
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8', '>=') %}
# Workaround a bug in dnf which would make the default module mask packages from postgres repo
module_hotfixes = true

View File

@ -1,3 +1,3 @@
---
# Select a branch from https://samba.tranquil.it/centos7/ or https://samba.tranquil.it/centos7/
samba_major_version: samba-{{ (ansible_distribution_major_version is version('8','<')) | ternary('4.12.15','4.18.0') }}
samba_major_version: samba-{{ (ansible_distribution_major_version is version('8','<')) | ternary('4.12.15','4.18.1') }}

View File

@ -43,11 +43,11 @@
- when: squashtm_db_engine == 'postgres'
block:
- name: Install pg_dump
package: name=postgresql14
package: name=postgresql15
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ squashtm_db_server | quote }}

View File

@ -5,7 +5,7 @@ set -eo pipefail
{% if squashtm_db_engine == 'postgres' %}
{% if squashtm_db_server not in ['localhost', '127.0.0.1'] %}
PGPASSWORD={{ squashtm_db_pass | quote }} \
/usr/pgsql-14/bin/pg_dump \
/usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ squashtm_db_user | quote }} \
@ -13,7 +13,7 @@ PGPASSWORD={{ squashtm_db_pass | quote }} \
--port={{ squashtm_db_port }} \
{{ squashtm_db_name }} | \
{% else %}
su - postgres -c "/usr/pgsql-14/bin/pg_dump --clear {{ squashtm_db_name }}" | \
su - postgres -c "/usr/pgsql-15/bin/pg_dump --clear {{ squashtm_db_name }}" | \
{% endif %}
zstd -c > {{ squashtm_root_dir }}/backup/{{ squashtm_db_name }}.sql.zst
{% else %}

View File

@ -10,22 +10,22 @@ taiga_user: taiga
# Archives URL, versions and expected checksums
taiga_archives:
back:
version: 6.5.2
url: https://github.com/kaleidos-ventures/taiga-back/archive/refs/tags/6.5.2.tar.gz
sha256: 46a1ceb98166d71ee2ed5ac4a5a26d7b24fee65bb90afc2b80b4321feb160222
version: 6.6.2
url: https://github.com/kaleidos-ventures/taiga-back/archive/refs/tags/6.6.2.tar.gz
sha256: f29c52d2ac7fb647813814971d98ad0ad8c9213aeb297b50741904913a17eef5
front:
version: 6.5.2
url: https://github.com/kaleidos-ventures/taiga-front-dist/archive/refs/tags/6.5.2.tar.gz
sha256: 54e85c024be2d6a7b1e9ba5714c82b3743f82812183d0b84747baf1dfc5312d2
dir: taiga-front-dist-6.5.2
version: 6.6.0
url: https://github.com/kaleidos-ventures/taiga-front-dist/archive/refs/tags/6.6.0.tar.gz
sha256: 1c438a992c8d4c0af78eea34f6ad0e35b09758516ee1849ee1a7753f84020848
dir: taiga-front-dist-6.6.0
events:
version: 6.5.0
url: https://github.com/kaleidos-ventures/taiga-events/archive/refs/tags/6.5.0.tar.gz
sha256: c6307e1246b97a2aa7f53755dbceb98b24256badf8282b37b8a24b51d08b583f
version: 6.6.0
url: https://github.com/kaleidos-ventures/taiga-events/archive/refs/tags/6.6.0.tar.gz
sha256: dcd83d1f191328f369e874631a2f00bc6b18421d8ce81a08c5dfa26c081a9762
protected:
version: 6.5.0
url: https://github.com/kaleidos-ventures/taiga-protected/archive/refs/tags/6.5.0.tar.gz
sha256: 8465eaf078dee7b61f4fd5dbb216db94ea455b3c8d69c19c10ae33ff481e46f0
version: 6.6.0
url: https://github.com/kaleidos-ventures/taiga-protected/archive/refs/tags/6.6.0.tar.gz
sha256: 28d7b0f584a61a776ee3299984e5aa0d845c550bba63b5af1751050c50b089e5
# Database settings
taiga_db_server: "{{ pg_server | default('localhost') }}"

View File

@ -11,7 +11,7 @@
- name: Install postgresql client
package:
name:
- postgresql14
- postgresql15
tags: taiga
- name: Stop services during upgrade
@ -39,7 +39,7 @@
- name: Dump the database
command: >
/usr/pgsql-14/bin/pg_dump
/usr/pgsql-15/bin/pg_dump
--clean
--create
--host={{ taiga_db_server | quote }}

View File

@ -99,7 +99,8 @@
- name: load initial data
django_manage:
command: loaddata initial_project_templates
command: loaddata
fixtures: initial_project_templates
app_path: "{{ taiga_root_dir }}/app/back"
virtualenv: "{{ taiga_root_dir }}/venv"

View File

@ -81,6 +81,8 @@
virtualenv: "{{ taiga_root_dir }}/venv"
virtualenv_command: /bin/python3.9 -m venv
environment:
PATH: "{{ (pg_version == 'default') | ternary('', '/usr/pgsql-' ~ pg_version ~ '/bin:') }}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
tags: taiga
- block:

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD='{{ taiga_db_pass }}' /usr/pgsql-14/bin/pg_dump \
PGPASSWORD='{{ taiga_db_pass }}' /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ taiga_db_user | quote }} \

View File

@ -22,7 +22,7 @@ taiga_packages:
- curl
- tmux
- gettext
- postgresql14
- postgresql15
- postgresql-devel
- libpq-devel
- libxml2-devel

View File

@ -1,8 +1,8 @@
---
vaultwarden_version: 1.28.0
vaultwarden_version: 1.28.1
vaultwarden_archive_url: https://github.com/dani-garcia/vaultwarden/archive/{{ vaultwarden_version }}.tar.gz
vaultwarden_archive_sha256: 2cd1a4e62b30a7034b3c1b50ca529b9355cd21e5e74bc8f48ef40e4928de6653
vaultwarden_archive_sha256: d6991cba20d8aaf7559eb4b8a7d82b68476c12d4913142490839addc2562d12a
vaultwarden_web_version: 2023.3.0b
vaultwarden_web_archive_url: https://github.com/dani-garcia/bw_web_builds/releases/download/v{{ vaultwarden_web_version }}/bw_web_v{{ vaultwarden_web_version }}.tar.gz

View File

@ -2,7 +2,7 @@
set -eo pipefail
PGPASSWORD={{ wapt_db_pass | quote }} /usr/pgsql-14/bin/pg_dump \
PGPASSWORD={{ wapt_db_pass | quote }} /usr/pgsql-15/bin/pg_dump \
--clean \
--create \
--username={{ wapt_db_user | quote }} \

View File

@ -3,5 +3,5 @@
wapt_packages:
- tis-waptserver
- tis-waptsetup
- postgresql14
- postgresql15
- python-psycopg2 # Needed to manage PG with ansible

View File

@ -3,5 +3,5 @@
wapt_packages:
- tis-waptserver
- tis-waptsetup
- postgresql14
- postgresql15
- python3-psycopg2 # Needed to manage PG with ansible

View File

@ -4,7 +4,7 @@ Description=Sync ZFS datasets
[Service]
Type=oneshot
PrivateTmp=yes
ExecStart=/sbin/syncoid --identifier={{ item.1.id }}{% if item.1.force | default(True) %} --force-delete {% endif %}{% if item.1.compress | default('lz4') is string %}--compress={{ item.1.compress | default('lz4') }} {%elif item.1.compress | default('lz4') == True %}--compress {% endif %}{% if item.1.recursive | default(True) == True %}--recursive{% endif %} {% if item.1.skip_parent | default(True) == True %}--skip-parent {% endif %} --sshcipher={{ item.1.ssh_cipher | default('aes128-ctr') }} {% if item.1.ssh_port is defined %}--sshport={{ item.1.ssh_port }} {% endif %}{% if item.1.bw_limit is defined %}--source-bwlimit={{ item.1.bw_limit }} {% endif %}{{ item.1.syncoid_opts | default('') }} {{ item.1.dataset }} {{ item.1.dest }}
ExecStart=/sbin/syncoid --identifier={{ item.1.id }}{% if item.1.force | default(True) %} --force-delete {% endif %}{% if item.1.compress | default('lz4') is string %} --compress={{ item.1.compress | default('lz4') }} {%elif item.1.compress | default('lz4') == True %}--compress {% endif %}{% if item.1.recursive | default(True) == True %}--recursive{% endif %} {% if item.1.skip_parent | default(True) == True %}--skip-parent {% endif %} --sshcipher={{ item.1.ssh_cipher | default('aes128-ctr') }} {% if item.1.ssh_port is defined %}--sshport={{ item.1.ssh_port }} {% endif %}{% if item.1.bw_limit is defined %}--source-bwlimit={{ item.1.bw_limit }} {% endif %}{{ item.1.syncoid_opts | default('') }} {{ item.1.dataset }} {{ item.1.dest }}
{% if item.1.max_duration is defined %}
TimeoutSec={{ item.1.max_duration }}
{% endif %}