mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-07-25 00:44:48 +00:00
ci: new linter rules take 2
This commit is contained in:
@@ -30,6 +30,7 @@ warn_list:
|
|||||||
- schema[meta]
|
- schema[meta]
|
||||||
- var-naming[no-role-prefix]
|
- var-naming[no-role-prefix]
|
||||||
- key-order[task]
|
- key-order[task]
|
||||||
|
- blocked_modules
|
||||||
|
|
||||||
skip_list:
|
skip_list:
|
||||||
- vars_should_not_be_used
|
- vars_should_not_be_used
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
that:
|
that:
|
||||||
- ansible_facts.services["keycloak.service"]["state"] == "running"
|
- ansible_facts.services["keycloak.service"]["state"] == "running"
|
||||||
- ansible_facts.services["keycloak.service"]["status"] == "enabled"
|
- 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: |
|
ansible.builtin.shell: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
ps -ef | grep /usr/lib/jvm/java-11 | grep -v grep
|
ps -ef | grep /usr/lib/jvm/java-11 | grep -v grep
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
- name: Verify openid config
|
- name: Verify openid config
|
||||||
block:
|
block:
|
||||||
- name: Fetch openID config # noqa command-instead-of-module
|
- name: Fetch openID config # noqa blocked_modules command-instead-of-module
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
curl https://instance:8443/realms/master/.well-known/openid-configuration -k | jq .
|
curl https://instance:8443/realms/master/.well-known/openid-configuration -k | jq .
|
||||||
|
|||||||
Reference in New Issue
Block a user