ansible-middleware/keycloak

Setting administrator password is too clumsy

Closed this issue · 0 comments

SUMMARY

The keycloak_admin_password is declared empty in the keycloak role varfile. Given variable precedence it becomes only possible to set the value in include_task parameters or commandline. Find a better solution

ISSUE TYPE
  • Bug Report
COLLECTION VERSION
1.0.0
STEPS TO REPRODUCE
- playbook: [..]
  vars:
    keycloak_admin_password: "changeme"
  roles:
     -  keycloak
EXPECTED RESULTS

keycloak_admin_password is overriden by playbook vars, or by inventory host|group_vars

ACTUAL RESULTS

It is only possible to override with extra_vars, or include_role vars