lint: Fix register variable name prefix

This commit is contained in:
saibotk 2023-06-06 20:26:36 +02:00
parent ccf5005a77
commit 4c5a0a7252
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -139,7 +139,7 @@
- name: Read tor hostname - name: Read tor hostname
ansible.builtin.slurp: ansible.builtin.slurp:
src: "{{ traefik_tor_data_location }}/traefik/hostname" src: "{{ traefik_tor_data_location }}/traefik/hostname"
register: proxy_hiddenservice register: proxy_hiddenservice # noqa: var-naming[no-role-prefix]
become: true become: true
when: traefik_tor_enabled | bool when: traefik_tor_enabled | bool
@ -176,9 +176,9 @@
- "{{ item }}" - "{{ item }}"
- -j - -j
- ACCEPT - ACCEPT
register: firewalld_direct_result register: traefik_firewalld_direct_result
become: true become: true
changed_when: '"ALREADY_ENABLED" not in firewalld_direct_result.stderr' changed_when: '"ALREADY_ENABLED" not in traefik_firewalld_direct_result.stderr'
notify: restart docker notify: restart docker
with_items: with_items:
- 80 - 80
@ -210,9 +210,9 @@
- "{{ item }}" - "{{ item }}"
- -j - -j
- ACCEPT - ACCEPT
register: firewalld_direct_permanent_result register: traefik_firewalld_direct_permanent_result
become: true become: true
changed_when: '"ALREADY_ENABLED" not in firewalld_direct_permanent_result.stderr' changed_when: '"ALREADY_ENABLED" not in traefik_firewalld_direct_permanent_result.stderr'
with_items: with_items:
- 80 - 80
- 443 - 443