Skip to content

Commit

Permalink
Fix long line check and add spaces around | for CI happiness.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Aug 22, 2022
1 parent d230311 commit ea9246e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/linting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ set -euxo pipefail
# shellcheck disable=SC2044
for book in $(find ./ -maxdepth 1 -name "*.yml"); do
if [ "$book" != "./handlers.yml" ]; then
ansible-lint "$book" -x braces,line-length
ansible-lint "$book" -x 'braces,yaml[line-length]'
fi
done
# shellcheck disable=SC2044
for dir in $(find ./roles -maxdepth 1 -type d); do
ansible-lint "$dir" -x braces,line-length
ansible-lint "$dir" -x 'braces,yaml[line-length]'
done
2 changes: 1 addition & 1 deletion provision-contest/ansible/roles/judgedaemon/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

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

- name: add cgroup kernel parameters
lineinfile:
Expand Down

0 comments on commit ea9246e

Please sign in to comment.