Commit 37f41d09 authored by nono's avatar nono 💻
Browse files

Added conditionnal to admin user creation

parent 8f772c9b
......@@ -17,10 +17,11 @@
args:
argv:
- "{{ keycloak_jboss_home }}/bin/add-user-keycloak.sh"
- -rmaster
- -u{{ keycloak_admin_user }}
- -p{{ keycloak_admin_password }}
- -r master
- -u "{{ keycloak_admin_user }}"
- -p "{{ keycloak_admin_password }}"
creates: "{{ keycloak_config_dir }}/keycloak-add-user.json"
become: yes
when: keycloak_create_admin is defined and (keycloak_create_admin | bool)
tags:
- skip_ansible_lint
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment