fix typo #72
Annotations
2 errors and 4 warnings
internal-error:
.#L1
A malformed block was encountered while loading a block.
|
schema[meta]:
meta/main.yml#L1
{'name': 'EL', 'versions': 8} is not valid under any of the given schemas
|
jinja[spacing]:
defaults/main.yml#L43
Jinja2 spacing could be improved: /(hi|hello|dear) ( {%- set mail_users = ['root','postmaster','abuse','hostmaster','webmaster','dmarc-reports'] %} {%- for user in users | default( [] ) %} {%- set mail_users = mail_users.append( user['name'] ) %} {%- endfor %} {{- mail_users | join('|') -}} )@( {%- set domains = \[mailserver_domain] %} {%- for domain in custom_domains | default( [] ) %} {%- set domains = domains.append( domain ) %} {%- endfor %} {{- domains | join('|') -}} )/i
|
jinja[spacing]:
defaults/main.yml#L81
Jinja2 spacing could be improved: Subject =~ /( {%- set mail_users = ['root','postmaster','abuse','hostmaster','webmaster','dmarc-reports'] %} {%- for user in users | default( [] ) %} {%- set mail_users = mail_users.append( user['name'] ) %} {%- endfor %} {{- mail_users | join('|') -}} )@( {%- set domains = \[mailserver_domain] %} {%- for domain in custom_domains | default( [] ) %} {%- set domains = domains.append( domain ) %} {%- endfor %} {{- domains | join('|') -}} )/i
|
jinja[spacing]:
defaults/main.yml#L100
Jinja2 spacing could be improved: To =~ /( {%- set domains = \[mailserver_domain] %} {%- for domain in custom_domains | default( [] ) %} {%- set domains = domains.append( domain ) %} {%- endfor %} {{- domains | join('|') -}} )/
|
schema[tasks]:
tasks/ssl.yml#L1
{'name': 'Generate LetsEncrypt certificates', 'ansible.builtin.command': "/usr/bin/lego -a --dns.disable-cp=1 --dns-timeout 4242 --dns.resolvers {{ ansible_default_ipv4.address }} --email ssl@{{ mailserver_domain }} --dns pdns {% for custom_domain in \[mailserver_domain] + custom_domains %}-d {{ custom_domain }} -d *.{{ custom_domain }} {% endfor %}-d '*.dyndns.{{ mailserver_domain }}' -d '*.vpn.{{ mailserver_domain }}' --server {{ acme_directory }} --path /etc/letsencrypt --pem run --must-staple", 'environment': {'EXEC_PROPAGATION_TIMEOUT': 4242, 'PDNS_API_URL': 'http://127.0.0.1:8081/', 'PDNS_API_KEY': '{{ powerdns_api_key }}'}, 'register': 'generate_certificates', 'changed_when': 'generate_certificates.rc == 0'} is not valid under any of the given schemas
|