This commit is contained in:
2022-11-17 18:10:40 +01:00
parent f80772ed42
commit 45115c6700
75 changed files with 5165 additions and 436 deletions

View File

@ -0,0 +1,31 @@
# {{ ansible_managed }}
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
{% set count = namespace(nfs_exports=100) %}
{% for export in nfs_exports %}
{% set export_str= namespace(nfs_exports = export.src.split(":")[1]) %}
{% set count.nfs_exports = count.nfs_exports + 10 %}
{% for network in export.export_networks %}
{% if export.use_fsid_option is defined and export.use_fsid_option is sameas true %}
{% set export_str.nfs_exports = export_str.nfs_exports~" "~network~"("~export.export_opt~",fsid="~count.nfs_exports~")" %}
#{{ export.src.split(":")[1] }} {{ network }}({{ export.export_opt }},fsid={{ count.nfs_exports }})
{% else %}
{% set export_str.nfs_exports = export_str.nfs_exports~" "~network~"("~export.export_opt~")" %}
#{{ export.src.split(":")[1] }} {{ network }}({{ export.export_opt }})
{% endif %}
{% endfor %}
{{ export_str.nfs_exports }}
{% endfor %}

View File

@ -7,7 +7,11 @@
_HOSTNAME={{ hostname }}
_IPV4='{{ ipv4_address | default(omit) }}'
_IPV6='{{ ipv6_address | default(omit) }}'
{% if ipv6_address is defined and ipv6_address %}
_IPV6="{{ ipv6_address }}"
{% else %}
_IPV6=disabled
{% endif %}
_QUARANTINE_DIR=/var/QUARANTINE
_QUARANTINE_ADMIN=postmaster\@$mydomain

View File

@ -11,10 +11,20 @@
_HOSTNAME={{ hostname }}
_IPV4='{{ ipv4_address | default(omit) }}'
_IPV6='{{ ipv6_address | default(omit) }}'
{% if ipv6_address is defined and ipv6_address %}
_IPV6="{{ ipv6_address }}"
{% else %}
_IPV6=disabled
{% endif %}
_ADMIN_EMAIL="{{ admin_email }}"
_SASL_AUTH_ENABLED="{{ sasl_auth_enable | default('no') }}"
_SASL_USER='{{ sasl_user | default(omit) }}'
_SASL_PASS='{{ sasl_pass | default(omit) }}'
{% if is_sympa_list_server is defined and is_sympa_list_server is sameas true %}
_RELAY_HOST=true
_SYMPA_LIST_SERVER=true
{% else %}
_RELAY_HOST="{{ is_relay_host | default('false') }}"
_SYMPA_LIST_SERVER=false
{% endif %}

View File

@ -42,7 +42,11 @@ IPV6="{{ ipv6_address | default(omit) }}"
# -
# - Defaults to 'admin@<domain>.<tld>'
# -
{% if (admin_email is defined) and admin_email %}
POSTFIX_DB_HOST_PGSQL="{{ postfix_db_host }}"
{% else %}
#WEBMASTER_EMAIL=""
{% endif %}
# - Base Directory of Roundcube Website
# -
@ -290,7 +294,11 @@ POSTFIX_DB_PASSWD='{{ postfix_db_pass | default(omit) }}'
# -
# - Defaults to 'false'
# -
{% if roundcube_acl_plugin is defined and roundcube_acl_plugin is sameas true %}
INCLUDE_ACL_PLUGIN="true"
{% else %}
#INCLUDE_ACL_PLUGIN="false"
{% endif %}
# ===

View File

@ -265,7 +265,11 @@ POSTFIX_DB_PASSWD='{{ postfix_db_pass | default(omit) }}'
# -
# - Defaults to 'false'
# -
{% if roundcube2_acl_plugin is defined and roundcube2_acl_plugin is sameas true %}
INCLUDE_ACL_PLUGIN="true"
{% else %}
#INCLUDE_ACL_PLUGIN="false"
{% endif %}
# ===

View File

@ -1,5 +1,5 @@
# {{ ansible_managed }}
Host wf.oopen.de 80.152.216.128 gw-d11.oopen.de d11.warenform.de
Host wf.oopen.de 79.140.184.145 gw-d11.oopen.de d11.warenform.de
user webadmin
Protocol 2
Port 9998