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
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue