diff --git a/keycloak/scripts/ansible/roles/keycloak/tasks/deploy.yml b/keycloak/scripts/ansible/roles/keycloak/tasks/deploy.yml index 5474887d..414e3349 100644 --- a/keycloak/scripts/ansible/roles/keycloak/tasks/deploy.yml +++ b/keycloak/scripts/ansible/roles/keycloak/tasks/deploy.yml @@ -42,7 +42,7 @@ become: yes file: path=/opt/sunbird_auth_{{sunbird_auth_version}} state=absent -- name: Create management user +- name: Create admin user become_user: "{{ wildfly_user }}" command: "{{ wildfly_dir }}/bin/add-user-keycloak.sh -r master -u {{ keycloak_management_user }} -p {{ keycloak_management_password }}" when: keycloak_management_user is defined and