Local path installation support

This commit is contained in:
root 2022-01-11 01:34:06 -06:00
parent ead4688ce6
commit 4217ba6e7f
6 changed files with 126 additions and 18 deletions

View file

@ -31,11 +31,23 @@ collections:
### Install Playbook
`playbooks/keycloak.yml` installs the keycloak or Red Hat Single Sign-On based on the defined variables.
`playbooks/keycloak.yml` installs the keycloak or Red Hat Single Sign-On(RHSSO) based on the defined variables.
### Choosing between Red Hat products and upstream project
### Choosing between Red Hat products and upstream(Keycloak) project
The roles supports installing Red Hat Single Sign-On from the Customer Portal, when the following variables are defined:
The roles supports installing Keycloak or Red Hat Single Sign-On in following ways
#### Install upstream from remote source
This is default way, no need to define any additional variables.
#### Install upstream from local source when the following variable is defined
```
keycloak_zip_file_local_path: <local path of keycloak zip file>
```
#### Install RHSSO from the Customer Portal, when the following variables are defined
```
rhn_username: '<customer_portal_username>'
@ -45,6 +57,12 @@ rhsso_rhn_id: '<sso_product_id>'
where `sso_product_id` is the ID for the specific Red Hat Single Sign-On version, ie. _101971_ will install version _7.5_)
#### Install RHSSO from local source when the following variable is defined
```
rhsso_zip_file_local_path: <local path of rhsso zip file>
```
### Install role
* [`keycloak`](https://github.com/ansible-middleware/keycloak/blob/main/roles/keycloak/README.md): role for installing the service. _Requires: python3-netaddr_