Merge pull request #2 from motaparthipavankumar/enhancement
Removed anisble_hosts file & Updated README.mdmain
commit
249754f5f5
23
README.md
23
README.md
|
@ -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
|
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
|
## Configuration
|
||||||
|
|
||||||
### Config Playbook
|
### 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
|
### 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
|
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
|
## License
|
||||||
|
|
||||||
Apache License v2.0 or later
|
Apache License v2.0 or later
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[keycloak]
|
|
||||||
localhost ansible_connection=local
|
|
Loading…
Reference in New Issue