lint: Fix register variable name prefix
This commit is contained in:
parent
ccf5005a77
commit
4c5a0a7252
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue