ci: new linter rules take 2

This commit is contained in:
Guido Grazioli 2023-05-22 16:24:28 +02:00
parent fd375a141d
commit 98e1633c43
3 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@ warn_list:
- schema[meta]
- var-naming[no-role-prefix]
- key-order[task]
- blocked_modules
skip_list:
- vars_should_not_be_used

View file

@ -14,7 +14,7 @@
that:
- ansible_facts.services["keycloak.service"]["state"] == "running"
- ansible_facts.services["keycloak.service"]["status"] == "enabled"
- name: Verify we are running on requested jvm
- name: Verify we are running on requested jvm # noqa blocked_modules command-instead-of-module
ansible.builtin.shell: |
set -o pipefail
ps -ef | grep /usr/lib/jvm/java-11 | grep -v grep

View file

@ -17,7 +17,7 @@
- name: Verify openid config
block:
- name: Fetch openID config # noqa command-instead-of-module
- name: Fetch openID config # noqa blocked_modules command-instead-of-module
ansible.builtin.shell: |
set -o pipefail
curl https://instance:8443/realms/master/.well-known/openid-configuration -k | jq .