Skip to content

Commit ea9246e

Browse files
Fix long line check and add spaces around | for CI happiness.
1 parent d230311 commit ea9246e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/linting.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ set -euxo pipefail
55
# shellcheck disable=SC2044
66
for book in $(find ./ -maxdepth 1 -name "*.yml"); do
77
if [ "$book" != "./handlers.yml" ]; then
8-
ansible-lint "$book" -x braces,line-length
8+
ansible-lint "$book" -x 'braces,yaml[line-length]'
99
fi
1010
done
1111
# shellcheck disable=SC2044
1212
for dir in $(find ./roles -maxdepth 1 -type d); do
13-
ansible-lint "$dir" -x braces,line-length
13+
ansible-lint "$dir" -x 'braces,yaml[line-length]'
1414
done

provision-contest/ansible/roles/judgedaemon/tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
- name: Pre-generate the kernel flags for ansible usage
3333
set_fact:
34-
procline: "cgroup_enable=memory swapaccount=1 isolcpus={{ cpucore|join(',') }}"
34+
procline: "cgroup_enable=memory swapaccount=1 isolcpus={{ cpucore | join(',') }}"
3535

3636
- name: add cgroup kernel parameters
3737
lineinfile:

0 commit comments

Comments
 (0)