From 6b2f7f716de302b315a490d4b429adf5d12332eb Mon Sep 17 00:00:00 2001 From: ace Date: Sat, 25 May 2024 18:12:30 +0300 Subject: [PATCH] mass update --- requirements.txt | 47 +-- roles/adguard-home/tasks/main.yaml | 2 +- roles/bitwarden/tasks/main.yaml | 2 +- roles/ceph-csi-cephfs/tasks/main.yaml | 2 +- roles/ceph-csi-rbd/tasks/main.yaml | 2 +- roles/cert-manager/tasks/main.yaml | 2 +- roles/dovecot/defaults/main.yaml | 209 ++++++++++++- roles/dovecot/tasks/main.yaml | 8 +- roles/external-dns/tasks/main.yaml | 2 +- roles/external-ingress-nginx/tasks/main.yaml | 2 +- roles/gitea-act-runner/tasks/main.yaml | 2 +- roles/gitea/tasks/main.yaml | 10 +- roles/harbor/tasks/main.yaml | 2 +- roles/internal-dns/tasks/main.yaml | 2 +- roles/internal-ingress-nginx/tasks/main.yaml | 2 +- roles/keycloak/tasks/main.yaml | 2 +- roles/local-dns/tasks/main.yaml | 2 +- roles/local-ingress-nginx/tasks/main.yaml | 2 +- roles/mail/defaults/main.yaml | 3 + roles/mail/tasks/main.yaml | 4 + roles/mastodon/tasks/main.yaml | 2 +- roles/metallb/tasks/main.yaml | 2 +- roles/metrics-server/tasks/main.yaml | 2 +- roles/minio/tasks/main.yaml | 2 +- roles/nextcloud/tasks/main.yaml | 2 +- roles/nfs-client-provisioner/tasks/main.yaml | 4 +- roles/openldap/tasks/main.yaml | 2 +- roles/peertube/tasks/main.yaml | 2 +- roles/playmaker/tasks/main.yaml | 2 +- roles/postfix/defaults/main.yaml | 290 ++++++++++++++++++- roles/postfix/tasks/main.yaml | 7 +- roles/postgres/tasks/main.yaml | 4 +- roles/pypiserver/tasks/main.yaml | 2 +- roles/roundcube/defaults/main.yaml | 4 +- roles/roundcube/tasks/main.yaml | 2 +- roles/rspamd/tasks/main.yaml | 2 +- roles/service-dns/tasks/main.yaml | 2 +- roles/wikijs/tasks/main.yaml | 2 +- 38 files changed, 569 insertions(+), 75 deletions(-) diff --git a/requirements.txt b/requirements.txt index 387bb00..1043d86 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,28 +1,29 @@ -ansible==7.6.0 -ansible-core==2.14.7 -cachetools==5.3.1 -certifi==2023.5.7 -cffi==1.15.1 -charset-normalizer==3.1.0 -cryptography==41.0.1 -google-auth==2.21.0 -idna==3.4 -Jinja2==3.1.2 -kubernetes==26.1.0 -MarkupSafe==2.1.3 +ansible==9.5.1 +ansible-core==2.16.6 +cachetools==5.3.3 +certifi==2024.2.2 +cffi==1.16.0 +charset-normalizer==3.3.2 +cryptography==42.0.7 +google-auth==2.29.0 +idna==3.7 +Jinja2==3.1.4 +kubernetes==29.0.0 +MarkupSafe==2.1.5 +netaddr==1.2.1 oauthlib==3.2.2 -openshift==0.13.1 -packaging==23.1 -pyasn1==0.5.0 -pyasn1-modules==0.3.0 -pycparser==2.21 -python-dateutil==2.8.2 +openshift==0.13.2 +packaging==24.0 +pyasn1==0.6.0 +pyasn1_modules==0.4.0 +pycparser==2.22 +python-dateutil==2.9.0.post0 python-string-utils==1.0.0 -PyYAML==6.0 +PyYAML==6.0.1 requests==2.31.0 -requests-oauthlib==1.3.1 -resolvelib==0.8.1 +requests-oauthlib==2.0.0 +resolvelib==1.0.1 rsa==4.9 six==1.16.0 -urllib3==1.26.16 -websocket-client==1.6.1 +urllib3==2.2.1 +websocket-client==1.8.0 diff --git a/roles/adguard-home/tasks/main.yaml b/roles/adguard-home/tasks/main.yaml index c50dcbf..12270e0 100644 --- a/roles/adguard-home/tasks/main.yaml +++ b/roles/adguard-home/tasks/main.yaml @@ -19,7 +19,7 @@ group: cert-manager.io - set_fact: - adguard_combined_values: "{{ adguard_default_values | combine(adguard_values, recursive=true) }}" + adguard_combined_values: "{{ adguard_default_values | combine(adguard_values | default({}), recursive=true) }}" - name: Deploy Adguard Home kubernetes.core.helm: diff --git a/roles/bitwarden/tasks/main.yaml b/roles/bitwarden/tasks/main.yaml index 2010ef8..ebf1127 100644 --- a/roles/bitwarden/tasks/main.yaml +++ b/roles/bitwarden/tasks/main.yaml @@ -5,7 +5,7 @@ - postgres_enabled is defined and postgres_enabled - set_fact: - bitwarden_combined_values: "{{ bitwarden_default_values | combine(bitwarden_values, recursive=true) }}" + bitwarden_combined_values: "{{ bitwarden_default_values | combine(bitwarden_values | default({}), recursive=true) }}" - name: Deploy Bitwarden kubernetes.core.helm: diff --git a/roles/ceph-csi-cephfs/tasks/main.yaml b/roles/ceph-csi-cephfs/tasks/main.yaml index ea0f06b..152387a 100644 --- a/roles/ceph-csi-cephfs/tasks/main.yaml +++ b/roles/ceph-csi-cephfs/tasks/main.yaml @@ -1,5 +1,5 @@ - set_fact: - ceph_csi_cephfs_combined_values: "{{ ceph_csi_cephfs_default_values | combine(ceph_csi_cephfs_values, recursive=true) }}" + ceph_csi_cephfs_combined_values: "{{ ceph_csi_cephfs_default_values | combine(ceph_csi_cephfs_values | default({}), recursive=true) }}" - name: Deploy CSI CephFS {{ ceph_csi_cephfs_version }} kubernetes.core.helm: diff --git a/roles/ceph-csi-rbd/tasks/main.yaml b/roles/ceph-csi-rbd/tasks/main.yaml index bdaef5e..712fd4f 100644 --- a/roles/ceph-csi-rbd/tasks/main.yaml +++ b/roles/ceph-csi-rbd/tasks/main.yaml @@ -1,5 +1,5 @@ - set_fact: - ceph_csi_rbd_combined_values: "{{ ceph_csi_rbd_default_values | combine(ceph_csi_rbd_values, recursive=true) }}" + ceph_csi_rbd_combined_values: "{{ ceph_csi_rbd_default_values | combine(ceph_csi_rbd_values | default({}), recursive=true) }}" - name: Deploy CSI Ceph RBD {{ ceph_csi_rbd_version }} kubernetes.core.helm: diff --git a/roles/cert-manager/tasks/main.yaml b/roles/cert-manager/tasks/main.yaml index 875d7cb..a87b8f4 100644 --- a/roles/cert-manager/tasks/main.yaml +++ b/roles/cert-manager/tasks/main.yaml @@ -1,5 +1,5 @@ - set_fact: - cert_manager_combined_values: "{{ cert_manager_default_values | combine(cert_manager_values, recursive=true) }}" + cert_manager_combined_values: "{{ cert_manager_default_values | combine(cert_manager_values | default({}), recursive=true) }}" - name: Deploy Cert-manager {{ cert_manager_version }} kubernetes.core.helm: diff --git a/roles/dovecot/defaults/main.yaml b/roles/dovecot/defaults/main.yaml index b65fb9a..c37b662 100644 --- a/roles/dovecot/defaults/main.yaml +++ b/roles/dovecot/defaults/main.yaml @@ -10,7 +10,7 @@ dovecot_default_values: existingSecret: "{{ mail_short_name | default('mail') }}.{{ domain }}-secret" dovecot: configmaps: - dovecot: + dovecot: dovecot: | protocols = imap lmtp sieve mail_max_userip_connections = 1000 @@ -51,14 +51,12 @@ dovecot_default_values: auth-ldap: | passdb { driver = ldap - # Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext args = /etc/dovecot/ldap.conf } userdb { driver = ldap args = /etc/dovecot/ldap.conf - } 10-auth: | auth_default_realm = {{ domain }} @@ -80,7 +78,7 @@ dovecot_default_values: mbox_write_locks = fcntl 10-master: | protocol imap { - mail_plugins = virtual + mail_plugins = virtual } service imap-login { inet_listener imap { @@ -130,13 +128,13 @@ dovecot_default_values: } service auth { - inet_listener { + inet_listener { port = 12345 } unix_listener auth-userdb { mode = 0660 user = vmail - #group = + #group = } # Postfix smtp-auth @@ -158,7 +156,7 @@ dovecot_default_values: ssl = required #verbose_ssl = yes ssl_prefer_server_ciphers = yes - ssl_min_protocol = TLSv1.2 + ssl_min_protocol = TLSv1.3 ssl_cert = array( 'verify_peer' => false, 'allow_self_signed' => true, - 'ciphers' => 'TLSv1.2+HIGH:!aNull:@STRENGTH', + 'ciphers' => 'TLSv1.3+HIGH:!aNull:@STRENGTH', ), ); // For STARTTLS SMTP @@ -85,7 +85,7 @@ roundcube_default_values: 'ssl' => array( 'verify_peer' => false, 'allow_self_signed' => true, - 'ciphers' => 'TLSv1.2+HIGH:!aNull:@STRENGTH', + 'ciphers' => 'TLSv1.3+HIGH:!aNull:@STRENGTH', ), ); ?> diff --git a/roles/roundcube/tasks/main.yaml b/roles/roundcube/tasks/main.yaml index cbc4395..33e6221 100644 --- a/roles/roundcube/tasks/main.yaml +++ b/roles/roundcube/tasks/main.yaml @@ -5,7 +5,7 @@ - postgres_enabled is defined and postgres_enabled - set_fact: - roundcube_combined_values: "{{ roundcube_default_values | combine(roundcube_values, recursive=true) }}" + roundcube_combined_values: "{{ roundcube_default_values | combine(roundcube_values | default({}), recursive=true) }}" - name: Deploy RoundCube kubernetes.core.helm: diff --git a/roles/rspamd/tasks/main.yaml b/roles/rspamd/tasks/main.yaml index c26ba97..7f7b499 100644 --- a/roles/rspamd/tasks/main.yaml +++ b/roles/rspamd/tasks/main.yaml @@ -1,5 +1,5 @@ - set_fact: - rspamd_combined_values: "{{ rspamd_default_values | combine(rspamd_values, recursive=true) }}" + rspamd_combined_values: "{{ rspamd_default_values | combine(rspamd_values | default({}), recursive=true) }}" - name: Deploy Rspamd kubernetes.core.helm: diff --git a/roles/service-dns/tasks/main.yaml b/roles/service-dns/tasks/main.yaml index 5c4beba..2341e6e 100644 --- a/roles/service-dns/tasks/main.yaml +++ b/roles/service-dns/tasks/main.yaml @@ -1,5 +1,5 @@ - set_fact: - service_dns_combined_values: "{{ service_dns_default_values | combine(service_dns_values, recursive=true) }}" + service_dns_combined_values: "{{ service_dns_default_values | combine(service_dns_values | default({}), recursive=true) }}" - name: Deploy service DNS kubernetes.core.helm: diff --git a/roles/wikijs/tasks/main.yaml b/roles/wikijs/tasks/main.yaml index 6b5311d..9a91d17 100644 --- a/roles/wikijs/tasks/main.yaml +++ b/roles/wikijs/tasks/main.yaml @@ -5,7 +5,7 @@ - postgres_enabled is defined and postgres_enabled - set_fact: - wikijs_combined_values: "{{ wikijs_default_values | combine(wikijs_values, recursive=true) }}" + wikijs_combined_values: "{{ wikijs_default_values | combine(wikijs_values | default({}), recursive=true) }}" - name: Deploy WikiJS kubernetes.core.helm: