diff --git a/.github/linting.sh b/.github/linting.sh index 65ae7b8a..25c9b386 100755 --- a/.github/linting.sh +++ b/.github/linting.sh @@ -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 diff --git a/provision-contest/ansible/roles/judgedaemon/tasks/main.yml b/provision-contest/ansible/roles/judgedaemon/tasks/main.yml index fd0ddb02..946e9298 100644 --- a/provision-contest/ansible/roles/judgedaemon/tasks/main.yml +++ b/provision-contest/ansible/roles/judgedaemon/tasks/main.yml @@ -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: