🚨 Fix trivial jinja spacing warnings

Fixes the following ansible-lint warnings:

    jinja[spacing]: Jinja2 spacing could be improved: group:Admins:{{ users | map(attribute = 'logname') | join("@pam,") }}@pam:: -> group:Admins:{{ users | map(attribute='logname') | join("@pam,") }}@pam:: (warning)
    host-beaker.yml:23 Jinja2 template rewrite recommendation: `group:Admins:{{ users | map(attribute='logname') | join("@pam,") }}@pam::`.

    jinja[spacing]: Jinja2 spacing could be improved: {{  docker_ip_ranges  }} -> {{  docker_ip_ranges }} (warning)
    host-krypton.yml:95 Jinja2 template rewrite recommendation: `{{  docker_ip_ranges }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{  item  }} -> {{  item }} (warning)
    host-krypton.yml:98 Jinja2 template rewrite recommendation: `{{  item }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{  docker_ip_ranges  }} -> {{  docker_ip_ranges }} (warning)
    host-krypton.yml:105 Jinja2 template rewrite recommendation: `{{  docker_ip_ranges }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{  item  }} -> {{  item }} (warning)
    host-krypton.yml:108 Jinja2 template rewrite recommendation: `{{  item }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{ cleanuri_amqp_user  }} -> {{ cleanuri_amqp_user }} (warning)
    roles/cleanuri/tasks/main.yml:36 Jinja2 template rewrite recommendation: `{{ cleanuri_amqp_user }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{ cleanuri_amqp_user  }} -> {{ cleanuri_amqp_user }} (warning)
    roles/cleanuri/tasks/main.yml:53 Jinja2 template rewrite recommendation: `{{ cleanuri_amqp_user }}`.

    jinja[spacing]: Jinja2 spacing could be improved: {{ cleanuri_amqp_user  }} -> {{ cleanuri_amqp_user }} (warning)
    roles/cleanuri/tasks/main.yml:70 Jinja2 template rewrite recommendation: `{{ cleanuri_amqp_user }}`.
This commit is contained in:
Alexander Dahl 2025-02-20 06:43:59 +01:00
parent a0021c4979
commit 41ab4622b3
3 changed files with 8 additions and 8 deletions

View file

@ -22,6 +22,6 @@
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/pve/user.cfg path: /etc/pve/user.cfg
regexp: "^group:Admins:" regexp: "^group:Admins:"
line: "group:Admins:{{ users | map(attribute = 'logname') | join(\"@pam,\") }}@pam::" line: "group:Admins:{{ users | map(attribute='logname') | join(\"@pam,\") }}@pam::"
handlers: handlers:

View file

@ -98,9 +98,9 @@
rule: allow rule: allow
port: '389' port: '389'
proto: tcp proto: tcp
from: "{{ item }}" from: "{{ item }}"
comment: LDAP Docker Access comment: LDAP Docker Access
loop: "{{ docker_ip_ranges }}" loop: "{{ docker_ip_ranges }}"
- name: Allow access to openLDAP from local docker container [2/2] - name: Allow access to openLDAP from local docker container [2/2]
become: true become: true
@ -108,9 +108,9 @@
rule: allow rule: allow
port: '636' port: '636'
proto: tcp proto: tcp
from: "{{ item }}" from: "{{ item }}"
comment: LDAP Docker Access comment: LDAP Docker Access
loop: "{{ docker_ip_ranges }}" loop: "{{ docker_ip_ranges }}"
- name: Ensure container for entities validation service is running - name: Ensure container for entities validation service is running

View file

@ -35,7 +35,7 @@
env: env:
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
AMQP_HOST: "{{ cleanuri_amqp_host }}" AMQP_HOST: "{{ cleanuri_amqp_host }}"
AMQP_USER: "{{ cleanuri_amqp_user }}" AMQP_USER: "{{ cleanuri_amqp_user }}"
AMQP_PASS: "{{ cleanuri_amqp_pass }}" AMQP_PASS: "{{ cleanuri_amqp_pass }}"
AMQP_VHOST: "{{ cleanuri_amqp_vhost }}" AMQP_VHOST: "{{ cleanuri_amqp_vhost }}"
GATEWAY_RESULT_QUEUE: "{{ cleanuri_amqp_results }}" GATEWAY_RESULT_QUEUE: "{{ cleanuri_amqp_results }}"
@ -52,7 +52,7 @@
env: env:
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
AMQP_HOST: "{{ cleanuri_amqp_host }}" AMQP_HOST: "{{ cleanuri_amqp_host }}"
AMQP_USER: "{{ cleanuri_amqp_user }}" AMQP_USER: "{{ cleanuri_amqp_user }}"
AMQP_PASS: "{{ cleanuri_amqp_pass }}" AMQP_PASS: "{{ cleanuri_amqp_pass }}"
AMQP_VHOST: "{{ cleanuri_amqp_vhost }}" AMQP_VHOST: "{{ cleanuri_amqp_vhost }}"
CANONIZER_TASK_QUEUE: "{{ cleanuri_amqp_canonizer }}" CANONIZER_TASK_QUEUE: "{{ cleanuri_amqp_canonizer }}"
@ -69,7 +69,7 @@
env: env:
TZ: "{{ timezone }}" TZ: "{{ timezone }}"
AMQP_HOST: "{{ cleanuri_amqp_host }}" AMQP_HOST: "{{ cleanuri_amqp_host }}"
AMQP_USER: "{{ cleanuri_amqp_user }}" AMQP_USER: "{{ cleanuri_amqp_user }}"
AMQP_PASS: "{{ cleanuri_amqp_pass }}" AMQP_PASS: "{{ cleanuri_amqp_pass }}"
AMQP_VHOST: "{{ cleanuri_amqp_vhost }}" AMQP_VHOST: "{{ cleanuri_amqp_vhost }}"
EXTRACTION_TASK_QUEUE: "{{ cleanuri_amqp_retrieval }}" EXTRACTION_TASK_QUEUE: "{{ cleanuri_amqp_retrieval }}"