Removed anisble_hosts file & Updated README.md

main
root 2022-01-07 10:09:25 -06:00
parent f748cf92b0
commit c78aaece81
2 changed files with 20 additions and 5 deletions

View File

@ -54,14 +54,22 @@ where `sso_product_id` is the ID for the specific Red Hat Single Sign-On version
Execute the following command from the source root directory
```
ansible-playbook -i ansible_hosts -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password=<changeme>`
ansible-playbook -i <ansible_hosts> -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password=<changeme>
```
- `keycloak_admin_password` Password for the administration console user account.
- `ansible_hosts` is the inventory, below is an example inventory for deploying to localhost
```
[keycloak]
localhost ansible_connection=local
```
## Configuration
### Config Playbook
`playbooks/keycloak-realm.yml` creates the realm, provided client(s), client role(s) and client user(s) if they don't exist.
`playbooks/keycloak-realm.yml` creates provided realm, client(s), client role(s) and client user(s) if they don't exist.
### Config role
@ -72,9 +80,18 @@ ansible-playbook -i ansible_hosts -e @rhn-creds.yml playbooks/keycloak.yml -e ke
Execute the following command from the source root directory
```
ansible-playbook -i ansible_hosts -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password=<changeme> -e keycloak_realm=test`
ansible-playbook -i <ansible_hosts> -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password=<changeme> -e keycloak_realm=test
```
- `keycloak_admin_password` password for the administration console user account.
- `keycloak_realm` name of the realm to be created/used.
- `ansible_hosts` is the inventory, below is an example inventory for deploying to localhost
```
[keycloak]
localhost ansible_connection=local
```
## License
Apache License v2.0 or later

View File

@ -1,2 +0,0 @@
[keycloak]
localhost ansible_connection=local