Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make keycloak_admin_password a default with assert (was: role variable) #26

Conversation

guidograzioli
Copy link
Member

Fix #22

@guidograzioli guidograzioli force-pushed the keycloak_admin_password_var branch from 89d4a99 to 85b0a25 Compare March 24, 2022 23:35
@guidograzioli guidograzioli requested a review from rpelisse March 25, 2022 07:19
@@ -8,3 +8,4 @@
ansible.builtin.assert:
that:
- ansible_facts.services["keycloak.service"]["state"] == "running"
- ansible_facts.services["keycloak.service"]["status"] == "enabled"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add that in the validation role in the other collection!!! (also we need to turn this verify into a validation role for keycloak)

@@ -6,7 +6,7 @@
ansible.builtin.include_role:
name: middleware_automation.keycloak.keycloak_realm
vars:
keycloak_admin_password: "changeme"
keycloak_admin_password: "remembertochangeme"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@guidograzioli guidograzioli merged commit 10ff176 into ansible-middleware:main Mar 25, 2022
@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Mar 30, 2022
@guidograzioli guidograzioli changed the title move admin pwd param from vars to defaults, add assert Make admin password a default with related assert instead of role variable Mar 30, 2022
@guidograzioli guidograzioli changed the title Make admin password a default with related assert instead of role variable Make keycloak_admin_password a default with assert (was: role variable) Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting administrator password is too clumsy
2 participants