ci: linter version update fixes

main
Guido Grazioli 2022-05-11 11:33:52 +02:00
parent 3b45c133b8
commit 9278d3440e
No known key found for this signature in database
GPG Key ID: 22C8C31EF2BC093B
6 changed files with 12 additions and 6 deletions

View File

@ -16,12 +16,14 @@ enable_list:
warn_list: warn_list:
- role_vars_start_with_role_name - role_vars_start_with_role_name
- vars_in_vars_files_have_valid_names - vars_in_vars_files_have_valid_names
- vars_should_not_be_used
- experimental - experimental
- ignore-errors - ignore-errors
- no-handler - no-handler
- fqcn-builtins - fqcn-builtins
- no-log-password - no-log-password
skip_list:
- vars_should_not_be_used
use_default_rules: true use_default_rules: true
parseable: true parseable: true

View File

@ -1,5 +1,6 @@
--- ---
- block: - name: Check packages to be installed
block:
- name: "Check if packages are already installed" - name: "Check if packages are already installed"
ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}" ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}"
args: args:

View File

@ -16,7 +16,8 @@
path: "{{ keycloak_jboss_home }}" path: "{{ keycloak_jboss_home }}"
register: existing_deploy register: existing_deploy
- block: - name: Stop and restart if existing deployment exists and install forced
block:
- name: "Stop the old {{ keycloak.service_name }} service" - name: "Stop the old {{ keycloak.service_name }} service"
become: yes become: yes
ignore_errors: yes ignore_errors: yes

View File

@ -35,7 +35,8 @@
src: "{{ keycloak_jboss_home }}/standalone/log" src: "{{ keycloak_jboss_home }}/standalone/log"
dest: /var/log/keycloak dest: /var/log/keycloak
- block: - name: Set admin credentials and restart if not already created
block:
- name: Check admin credentials by generating a token (supposed to fail on first installation) - name: Check admin credentials by generating a token (supposed to fail on first installation)
ansible.builtin.uri: ansible.builtin.uri:
url: "{{ keycloak_url }}/auth/realms/master/protocol/openid-connect/token" url: "{{ keycloak_url }}/auth/realms/master/protocol/openid-connect/token"

View File

@ -1,7 +1,7 @@
--- ---
# internal variables below # internal variables below
rhsso_rhn_ids: rhsso_rhn_ids:
'7.5.0': '7.5.0': # noqa vars_in_vars_files_have_valid_names
id: '101971' id: '101971'
latest_cp: latest_cp:
id: '103836' id: '103836'

View File

@ -1,5 +1,6 @@
--- ---
- block: - name: Check packages to be installed
block:
- name: "Check if packages are already installed" - name: "Check if packages are already installed"
ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}" ansible.builtin.command: "rpm -q {{ packages_list | join(' ') }}"
args: args: