Skip to content

Commit a50c38a

Browse files
committed
refactor: disable ansible-lint invalid jinja error
Not really invalid see ansible/ansible-lint#4702 Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 347be36 commit a50c38a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/tests_host_to_host_cert.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
# need extra task file to iterate over hosts per tunnel
2626
- name: Add cert options to check
2727
set_fact:
28+
# not really invalid - see https://github.com/ansible/ansible-lint/issues/4702
29+
# noqa jinja[invalid]
2830
__new_vpn_connections: "{{ __new_vpn_connections | d([]) + [item | combine(fixed_item)] | list }}"
2931
loop: "{{ vpn_connections }}"
3032
loop_control:

tests/tests_mesh_cert.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
- name: Add extra options to check
2222
set_fact:
23+
# not really invalid - see https://github.com/ansible/ansible-lint/issues/4702
24+
# noqa jinja[invalid]
2325
__new_vpn_connections: "{{ __new_vpn_connections | d([]) + [item | combine(new_tunnel)] | list }}"
2426
loop: "{{ vpn_connections }}"
2527
vars:

0 commit comments

Comments
 (0)