You've already forked ansible-role-rspamd
style(meta): format argument specs
This commit is contained in:
@@ -3,7 +3,7 @@ argument_specs:
|
|||||||
main:
|
main:
|
||||||
short_description: "Role to install and configure rspamd mail filter"
|
short_description: "Role to install and configure rspamd mail filter"
|
||||||
description:
|
description:
|
||||||
- "This role configures rspamd with support for DKIM signing, Redis integration, logging, ACLs, and worker controller settings."
|
- "This role configures rspamd with support for DKIM signing, Redis integration, logging, ACLs, and worker controller settings."
|
||||||
author: "Markus Pesch"
|
author: "Markus Pesch"
|
||||||
options:
|
options:
|
||||||
# ACLs
|
# ACLs
|
||||||
@@ -27,7 +27,7 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
# DKIM Signing
|
# DKIM Signing
|
||||||
rspamd_dkim_enabled:
|
rspamd_dkim_enabled:
|
||||||
description: "Create dkim_signing.conf."
|
description: "Create dkim_signing.conf."
|
||||||
@@ -46,14 +46,14 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: dict
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
# DNS
|
# DNS
|
||||||
rspamd_dns_servers:
|
rspamd_dns_servers:
|
||||||
description: "List of DNS servers used for DNS lookups."
|
description: "List of DNS servers used for DNS lookups."
|
||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
rspamd_logging_enabled:
|
rspamd_logging_enabled:
|
||||||
description: "Create logging.inc.conf."
|
description: "Create logging.inc.conf."
|
||||||
@@ -68,21 +68,21 @@ argument_specs:
|
|||||||
type: str
|
type: str
|
||||||
default: "info"
|
default: "info"
|
||||||
choices:
|
choices:
|
||||||
- error
|
- error
|
||||||
- warning
|
- warning
|
||||||
- notice
|
- notice
|
||||||
- info
|
- info
|
||||||
- silent
|
- silent
|
||||||
- debug
|
- debug
|
||||||
rspamd_logging_type:
|
rspamd_logging_type:
|
||||||
description: "Log type."
|
description: "Log type."
|
||||||
type: str
|
type: str
|
||||||
default: "syslog"
|
default: "syslog"
|
||||||
choices:
|
choices:
|
||||||
- console
|
- console
|
||||||
- file
|
- file
|
||||||
- syslog
|
- syslog
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
rspamd_redis_enabled:
|
rspamd_redis_enabled:
|
||||||
description: "Create redis.conf."
|
description: "Create redis.conf."
|
||||||
@@ -124,7 +124,7 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
# Worker Controller
|
# Worker Controller
|
||||||
rspamd_worker_controller_enabled:
|
rspamd_worker_controller_enabled:
|
||||||
description: "Create worker-controller.conf."
|
description: "Create worker-controller.conf."
|
||||||
@@ -147,7 +147,7 @@ argument_specs:
|
|||||||
type: list
|
type: list
|
||||||
elements: str
|
elements: str
|
||||||
default:
|
default:
|
||||||
- localhost
|
- localhost
|
||||||
rspamd_worker_controller_ssl_cert:
|
rspamd_worker_controller_ssl_cert:
|
||||||
description: "Path to PEM certificate file (required when using ssl bind sockets)."
|
description: "Path to PEM certificate file (required when using ssl bind sockets)."
|
||||||
type: str
|
type: str
|
||||||
@@ -156,7 +156,7 @@ argument_specs:
|
|||||||
description: "Path to PEM private key file (required when using ssl bind sockets)."
|
description: "Path to PEM private key file (required when using ssl bind sockets)."
|
||||||
type: str
|
type: str
|
||||||
default: ""
|
default: ""
|
||||||
|
|
||||||
# Drop-In directories
|
# Drop-In directories
|
||||||
rspamd_local_d_dir:
|
rspamd_local_d_dir:
|
||||||
description: "Drop-In directory to customize rspamd configurations."
|
description: "Drop-In directory to customize rspamd configurations."
|
||||||
|
|||||||
Reference in New Issue
Block a user