Update to 2022-09-16 10:00

This commit is contained in:
Daniel Berteaud 2022-09-16 10:00:09 +02:00
parent 5f63198ca7
commit 0af60855cc
13 changed files with 32 additions and 24 deletions

View File

@ -8,7 +8,7 @@
cert_path: "{{ consul_conf.tls.defaults.cert_file }}" cert_path: "{{ consul_conf.tls.defaults.cert_file }}"
cert_key_path: "{{ consul_conf.tls.defaults.key_file }}" cert_key_path: "{{ consul_conf.tls.defaults.key_file }}"
cert_key_group: "{{ consul_user }}" cert_key_group: "{{ consul_user }}"
cert_key_mode: 640 cert_key_mode: 0640
tags: consul tags: consul
- name: Check if CA exists - name: Check if CA exists

View File

@ -1,11 +1,11 @@
--- ---
# Version of cocumize to deploy # Version of cocumize to deploy
documize_version: 5.2.1 documize_version: 5.2.2
# URL of the binary to install # URL of the binary to install
documize_bin_url: https://github.com/documize/community/releases/download/v{{ documize_version }}/documize-community-linux-amd64 documize_bin_url: https://github.com/documize/community/releases/download/v{{ documize_version }}/documize-community-linux-amd64
# Expected sha1 of the binary # Expected sha1 of the binary
documize_bin_sha256: 154fd2c23f8991482b42d2d15e4cb5c8b5c965c1283c0e114b7943276de1be07 documize_bin_sha256: 86d635d804853f10bbe190ba40253293b692869ad0efff707005ec6a08f23163
# Should documize handle upgrades or only initial install ? # Should documize handle upgrades or only initial install ?
documize_manage_upgrade: True documize_manage_upgrade: True

View File

@ -174,7 +174,7 @@
args: args:
chdir: "{{ jitsi_root_dir }}/src/meet" chdir: "{{ jitsi_root_dir }}/src/meet"
environment: environment:
NODE_OPTIONS: "--max_old_space_size=3072" NODE_OPTIONS: "--max_old_space_size=4096"
become_user: "{{ jitsi_user }}" become_user: "{{ jitsi_user }}"
#- name: Reset git (so next run won't detect a change) #- name: Reset git (so next run won't detect a change)

View File

@ -5,15 +5,15 @@
name: lingw_nfs_port name: lingw_nfs_port
state: "{{ (lingw_nfs_src_ip | length > 0) | ternary('present','absent') }}" state: "{{ (lingw_nfs_src_ip | length > 0) | ternary('present','absent') }}"
rules: | rules: |
-A INPUT -m state --state NEW -p tcp --dport 2049 -s {{ lingw_nfs_src_ip | join(',') }} -j ACCEPT -A INPUT -m state --state NEW -p tcp --dport 2049 -s {{ lingw_nfs_src_ip | flatten | join(',') }} -j ACCEPT
-A INPUT -m state --state NEW -p tcp --dport 111 -s {{ lingw_nfs_src_ip | join(',') }} -j ACCEPT -A INPUT -m state --state NEW -p tcp --dport 111 -s {{ lingw_nfs_src_ip | flatten | join(',') }} -j ACCEPT
-A INPUT -m state --state NEW -p udp --dport 111 -s {{ lingw_nfs_src_ip | join(',') }} -j ACCEPT -A INPUT -m state --state NEW -p udp --dport 111 -s {{ lingw_nfs_src_ip | flatten | join(',') }} -j ACCEPT
tags: firewall,drbd tags: firewall,drbd
- name: Handle iSCSI port - name: Handle iSCSI port
iptables_raw: iptables_raw:
name: lingw_iscsi_port name: lingw_iscsi_port
state: "{{ (lingw_iscsi_src_ip | length > 0) | ternary('present','absent') }}" state: "{{ (lingw_iscsi_src_ip | length > 0) | ternary('present','absent') }}"
rules: "-A INPUT -m state --state NEW -p tcp --dport 3260 -s {{ lingw_iscsi_src_ip | join(',') }} -j ACCEPT" rules: "-A INPUT -m state --state NEW -p tcp --dport 3260 -s {{ lingw_iscsi_src_ip | flatten | join(',') }} -j ACCEPT"
tags: firewall,drbd tags: firewall,drbd

View File

@ -10,10 +10,5 @@ linsat_controllers_url:
# List of IP/CIDR which can reach the API of the satellite (only Linstor controller should reach it) # List of IP/CIDR which can reach the API of the satellite (only Linstor controller should reach it)
linsat_api_src_ip: [] linsat_api_src_ip: []
# HA NFS Service
linsat_nfs_src_ip: []
# HA iSCSI Service
linsat_iscsi_src_ip: []
# List of resources to keep (and not delete/regenerate) on start. Usefull for the HA controller # List of resources to keep (and not delete/regenerate) on start. Usefull for the HA controller
linsat_keep_res: [ "{{ linctl_ha_res | default('linstor_db') }}" ] linsat_keep_res: [ "{{ linctl_ha_res | default('linstor_db') }}" ]

View File

@ -5,8 +5,8 @@
element_id: element element_id: element
# Version to deploy, and expected sha256 # Version to deploy, and expected sha256
element_version: 1.11.4 element_version: 1.11.5
element_archive_sha256: 6a102e92f002db41d036071aac06d4f81d75636f6326e4874b1480012db59b46 element_archive_sha256: 7d4575edaf7b28a8f0f16900a1287e44751ba26aeab3647e3d826e5f7e929a90
# Where to install element # Where to install element
element_root_dir: /opt/matrix/element element_root_dir: /opt/matrix/element

View File

@ -1,7 +1,7 @@
--- ---
# Synapse version to deploy # Synapse version to deploy
synapse_version: '1.66.0' synapse_version: '1.67.0'
# Should ansible handle Synapse upgrades ? If false, only initial install will be done # Should ansible handle Synapse upgrades ? If false, only initial install will be done
synapse_manage_upgrade: True synapse_manage_upgrade: True

View File

@ -21,13 +21,21 @@ nginx_log_format: combined_virtual
# Some special vhost names can be derived from it. Eg downtime.{{ nginx_primary_domain }} # Some special vhost names can be derived from it. Eg downtime.{{ nginx_primary_domain }}
nginx_primary_domain: "{{ ansible_domain }}" nginx_primary_domain: "{{ ansible_domain }}"
nginx_cert_path: /etc/nginx/ssl/cert.pem nginx_cert_path: /etc/nginx/ssl/cert.pem
nginx_key_path: /etc/nginx/ssl/key.pem nginx_key_path: /etc/nginx/ssl/key.pem
# OR # OR
# #
# nginx_letsencrypt_cert: # nginx_letsencrypt_cert:
# Default nginx vhost # The root of the default_server vhost
nginx_root: /usr/share/nginx/html
# If autoindex should be enabled for the default_server vhost
nginx_autoindex: False
# Default nginx vhost. This is not the settings of the default_server
# but settings which will be inherited by all the vhosts (unless overriden at the vhost level)
# You can override it if you want to use a custom _ vhost # You can override it if you want to use a custom _ vhost
nginx_default_vhost_name: _ nginx_default_vhost_name: _
nginx_vhosts: [] nginx_vhosts: []

View File

@ -84,7 +84,7 @@ http {
listen 443{% if nginx_default_vhost_name == '_' %} default_server{% endif %} ssl http2; listen 443{% if nginx_default_vhost_name == '_' %} default_server{% endif %} ssl http2;
server_name {{ nginx_default_vhost_name }}; server_name {{ nginx_default_vhost_name }};
root /usr/share/nginx/html; root {{ nginx_root }};
# Load location fragments in the default vhost # Load location fragments in the default vhost
include /etc/nginx/ansible_location.d/*.conf; include /etc/nginx/ansible_location.d/*.conf;
@ -99,6 +99,9 @@ http {
include /etc/nginx/ansible_conf.d/acme.inc; include /etc/nginx/ansible_conf.d/acme.inc;
location / { location / {
{% if nginx_autoindex %}
autoindex on;
{% endif %}
} }
location ~ \.ht { location ~ \.ht {

View File

@ -11,7 +11,7 @@
# MaxUsers = "9" # MaxUsers = "9"
# Mode = "subscription" # Mode = "subscription"
# etc... # etc...
seafile_version: "{{ seafile_license is defined | ternary('9.0.7','9.0.8') }}" seafile_version: "{{ seafile_license is defined | ternary('9.0.8','9.0.8') }}"
# Archive URL and sha256 are only used for the community version # Archive URL and sha256 are only used for the community version
seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz seafile_archive_url: https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_{{ seafile_version }}_x86-64.tar.gz

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8aa32d54300c7d920bff19110f1b0bba79c8ebc9c3e7628ada0ca05240c4cdf
size 96811511

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bc555a48a4f0ad47daf6b53a742b1e1e57b591f2bd3d97a602fb521bb920283
size 97113976

View File

@ -5,7 +5,8 @@
loop: loop:
- dir: / - dir: /
owner: "{{ sftpgo_user }}" owner: "{{ sftpgo_user }}"
mode: 700 group: "{{ sftpgo_user }}"
mode: 770
- dir: meta - dir: meta
mode: 700 mode: 700
- dir: archives - dir: archives
@ -22,7 +23,8 @@
- dir: bin - dir: bin
- dir: data - dir: data
owner: "{{ sftpgo_user }}" owner: "{{ sftpgo_user }}"
mode: 700 group: "{{ sftpgo_user }}"
mode: 770
- dir: data/home - dir: data/home
owner: "{{ sftpgo_user }}" owner: "{{ sftpgo_user }}"
mode: 700 mode: 700