ci: linter

This commit is contained in:
Guido Grazioli 2023-03-03 10:54:50 +01:00
parent 007094ab5b
commit 7abdd83ea4
No known key found for this signature in database
GPG key ID: 22C8C31EF2BC093B
9 changed files with 8 additions and 18 deletions

View file

@ -29,6 +29,7 @@ warn_list:
- name[template]
- name[casing]
- fqcn[action]
- schema[meta]
skip_list:
- vars_should_not_be_used

View file

@ -3,7 +3,5 @@
hosts: all
vars:
keycloak_admin_password: "remembertochangeme"
collections:
- middleware_automation.keycloak
roles:
- keycloak
- middleware_automation.keycloak.keycloak

View file

@ -9,7 +9,5 @@
keycloak_quarkus_https_enabled: True
keycloak_quarkus_key_file: conf/key.pem
keycloak_quarkus_cert_file: conf/cert.pem
collections:
- middleware_automation.keycloak
roles:
- keycloak_quarkus
- middleware_automation.keycloak.keycloak_quarkus

View file

@ -22,7 +22,5 @@
- client: TestClient1
role: TestClient1User
realm: "{{ keycloak_realm }}"
collections:
- middleware_automation.keycloak
roles:
- keycloak_realm
- middleware_automation.keycloak.keycloak_realm

View file

@ -4,9 +4,6 @@
vars:
keycloak_admin_password: "remembertochangeme"
sso_enable: True
collections:
- middleware_automation.redhat_csp_download
- middleware_automation.keycloak
roles:
- middleware_automation.redhat_csp_download.redhat_csp_download
- middleware_automation.keycloak.keycloak

View file

@ -17,6 +17,7 @@
register: existing_deploy
- name: Stop and restart if existing deployment exists and install forced
when: existing_deploy.stat.exists and keycloak_force_install | bool
block:
- name: "Stop the old {{ keycloak.service_name }} service"
become: yes
@ -29,7 +30,6 @@
ansible.builtin.file:
path: "{{ keycloak_jboss_home }}"
state: absent
when: existing_deploy.stat.exists and keycloak_force_install|bool
- name: Check for an existing deployment after possible forced removal
become: yes

View file

@ -1,6 +1,4 @@
---
collections:
galaxy_info:
role_name: keycloak_quarkus
namespace: middleware_automation