From c78aaece81365f0dff91ed64735e6c5ab677858d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 7 Jan 2022 10:09:25 -0600 Subject: [PATCH] Removed anisble_hosts file & Updated README.md --- README.md | 23 ++++++++++++++++++++--- ansible_hosts | 2 -- 2 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 ansible_hosts diff --git a/README.md b/README.md index 194e2ec..a25bead 100644 --- a/README.md +++ b/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 ``` -ansible-playbook -i ansible_hosts -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password=` +ansible-playbook -i -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password= ``` +- `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= -e keycloak_realm=test` +ansible-playbook -i -e @rhn-creds.yml playbooks/keycloak.yml -e keycloak_admin_password= -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 diff --git a/ansible_hosts b/ansible_hosts deleted file mode 100644 index fcd3222..0000000 --- a/ansible_hosts +++ /dev/null @@ -1,2 +0,0 @@ -[keycloak] -localhost ansible_connection=local