Skip to content

Commit 6ab5dba

Browse files
committed
Add yamllint ignore directives for long lines
In these cases there is no clean way to shorten the lines.
1 parent fe07c38 commit 6ab5dba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
vars:
1313
conditions:
1414
- systemd_resolved_dns_stub_listener is boolean
15+
# yamllint doesn't like these next two lines because they
16+
# are so long, but there is no clean way to shorten them.
17+
#
18+
# yamllint disable-line rule:line-length
1519
- systemd_resolved_dns_stub_listener is string and systemd_resolved_dns_stub_listener == "tcp"
20+
# yamllint disable-line rule:line-length
1621
- systemd_resolved_dns_stub_listener is string and systemd_resolved_dns_stub_listener == "udp"
1722

1823
- name: Load var file with OS-specific information

0 commit comments

Comments
 (0)