Compare commits

..

4 Commits
1.0.3 ... 1.0.4

Author SHA1 Message Date
github-actions
2cc835219c Update changelog for release 1.0.4 2022-05-11 12:23:41 +00:00
Guido Grazioli
9e3cd22484 Bump to 1.0.4 2022-05-11 14:05:43 +02:00
Guido Grazioli
9278d3440e ci: linter version update fixes 2022-05-11 11:33:52 +02:00
Guido Grazioli
3b45c133b8 fix incorrect downloaded archive filemode 2022-05-11 10:38:52 +02:00
9 changed files with 21 additions and 10 deletions

View File

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

View File

@@ -6,6 +6,9 @@ middleware_automation.keycloak Release Notes
This changelog describes changes after version 0.2.6.
v1.0.4
======
v1.0.3
======

View File

@@ -58,3 +58,5 @@ releases:
- 30.yaml
- 31.yaml
release_date: '2022-05-09'
1.0.4:
release_date: '2022-05-11'

View File

@@ -1,7 +1,7 @@
---
namespace: middleware_automation
name: keycloak
version: "1.0.3"
version: "1.0.4"
readme: README.md
authors:
- Romain Pelisse <rpelisse@redhat.com>

View File

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

View File

@@ -16,7 +16,8 @@
path: "{{ keycloak_jboss_home }}"
register: existing_deploy
- block:
- name: Stop and restart if existing deployment exists and install forced
block:
- name: "Stop the old {{ keycloak.service_name }} service"
become: yes
ignore_errors: yes
@@ -74,7 +75,7 @@
ansible.builtin.get_url: # noqa risky-file-permissions delegated, uses controller host user
url: "{{ keycloak_download_url }}"
dest: "{{ local_path.stat.path }}/{{ keycloak.bundle }}"
mode: 0640
mode: 0644
delegate_to: localhost
when:
- archive_path is defined
@@ -103,7 +104,7 @@
ansible.builtin.get_url: # noqa risky-file-permissions delegated, uses controller host user
url: "{{ keycloak_rhsso_download_url }}"
dest: "{{ local_path.stat.path }}/{{ keycloak.bundle }}"
mode: 0640
mode: 0644
delegate_to: localhost
when:
- archive_path is defined
@@ -126,7 +127,7 @@
dest: "{{ archive }}"
owner: "{{ keycloak_service_user }}"
group: "{{ keycloak_service_group }}"
mode: 0750
mode: 0640
register: new_version_downloaded
when:
- not archive_path.stat.exists

View File

@@ -35,7 +35,8 @@
src: "{{ keycloak_jboss_home }}/standalone/log"
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)
ansible.builtin.uri:
url: "{{ keycloak_url }}/auth/realms/master/protocol/openid-connect/token"

View File

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

View File

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