Skip to content

fix dyndns user name reference #92

fix dyndns user name reference

fix dyndns user name reference #92

Triggered via push October 29, 2023 20:39
Status Success
Total duration 3m 19s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
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('|') -}} )/
jinja[spacing]: tasks/dyndns.yml#L100
Jinja2 spacing could be improved: {{ users | map(attribute='name')}} -> {{ users | map(attribute='name') }}
schema[meta]: meta/main.yml#L1
{'name': 'EL', 'versions': 8} is not valid under any of the given schemas
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 -d {{ (\[mailserver_domain] + custom_domains) | join(' -d ') }} {{ (\[mailserver_domain] + custom_domains) | join(' -d *.') }} -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