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
ansible.builtin.slurp:
src: "{{ traefik_tor_data_location }}/traefik/hostname"
register: proxy_hiddenservice
register: proxy_hiddenservice # noqa: var-naming[no-role-prefix]
become: true
when: traefik_tor_enabled | bool
@ -176,9 +176,9 @@
- "{{ item }}"
- -j
- ACCEPT
register: firewalld_direct_result
register: traefik_firewalld_direct_result
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
with_items:
- 80
@ -210,9 +210,9 @@
- "{{ item }}"
- -j
- ACCEPT
register: firewalld_direct_permanent_result
register: traefik_firewalld_direct_permanent_result
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:
- 80
- 443