mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-29 08:01:33 -07:00
Fix linter errors
This commit is contained in:
parent
bce963923d
commit
124c8ae0ad
8 changed files with 25 additions and 15 deletions
|
@ -8,7 +8,7 @@
|
|||
changed_when: rpm_info.failed
|
||||
|
||||
rescue:
|
||||
- name: "If package {{ package_name }} is missing, add it to the yum install list."
|
||||
- name: "Add {{ package_name }} to the yum install list if missing"
|
||||
set_fact:
|
||||
packages_to_install: "{{ packages_to_install + [ package_name ] }}"
|
||||
when: rpm_info.failed
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- set_fact:
|
||||
- name: Set facts
|
||||
set_fact:
|
||||
update_cache: true
|
||||
packages_to_install: []
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
- not keycloak_rhsso_enable
|
||||
- not keycloak_offline_install
|
||||
|
||||
- name: Performing download from RHN
|
||||
- name: Perform download from RHN
|
||||
redhat_csp_download:
|
||||
url: "{{ keycloak_rhsso_download_url }}"
|
||||
dest: "{{ local_path.stat.path }}/{{ keycloak.bundle }}"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
- "-rmaster"
|
||||
- "-u{{ keycloak_admin_user }}"
|
||||
- "-p{{ keycloak_admin_password }}"
|
||||
changed_when: yes
|
||||
become: yes
|
||||
- name: "Restart {{ keycloak.service_name }}"
|
||||
include_tasks: tasks/restart_keycloak.yml
|
||||
|
|
|
@ -56,7 +56,8 @@
|
|||
- keycloak_service_status is defined
|
||||
- keycloak_service_status.stdout is defined
|
||||
|
||||
- meta: flush_handlers
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
|
||||
- name: "Wait until Keycloak becomes active {{ keycloak.health_url }}"
|
||||
uri:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue