INF-162 - Init role for keycloak
- Download the keycloak installation file
- Install service file
- Create admin account
Change-Id: I18ef42f072f0fc071cb448bc4ab7e0a388748054
diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml
new file mode 100644
index 0000000..f05340a
--- /dev/null
+++ b/molecule/default/verify.yml
@@ -0,0 +1,17 @@
+---
+# keycloak molecule/default/verify.yml
+#
+# SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: Verify
+ hosts: all
+ tasks:
+ - name: Check that Keycloak is running with configured username/password
+ community.general.keycloak_client:
+ auth_keycloak_url: http://localhost:8080/auth
+ auth_realm: master
+ auth_username: "{{ keycloak_admin_username }}"
+ auth_password: "{{ keycloak_admin_password }}"
+ client_id: test
+ state: present