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

Update requirements.yaml to pin community.general ansible version #102

Conversation

sjdemartini
Copy link
Contributor

@sjdemartini sjdemartini commented Feb 24, 2022

It seems the latest version of community.general (4.5.0) which came out 2 days ago doesn't work properly for the keycloak ansible tasks:

fatal: [hpc-master-node]: FAILED! => {"reason": "couldn't resolve module/action 'community.general.keycloak_realm'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '.../qhub-hpc/roles/keycloak/tasks/realm.yaml': line 2, column 4, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n - name: Create or update Keycloak realm\n   ^ here\n"}

After changing community.general to 4.2.0 with this branch, which is the version number listed here https://docs.ansible.com/ansible/latest/collections/community/general/keycloak_realm_module.html (and also here https://docs.ansible.com/ansible/latest/collections/community/general/), it now works. So this will need to be pinned to avoid the above problem, at least for now.

fyi @costrouc

It seems the latest version of `community.general` (4.5.0) which came out 2 days ago doesn't work properly for the keycloak ansible tasks:

```
fatal: [hpc-master-node]: FAILED! => {"reason": "couldn't resolve module/action 'community.general.keycloak_realm'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '.../qhub-hpc/roles/keycloak/tasks/realm.yaml': line 2, column 4, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n - name: Create or update Keycloak realm\n   ^ here\n"}
```

After changing `community.general` to 4.2.0 with this branch, which is the version number listed here https://docs.ansible.com/ansible/latest/collections/community/general/keycloak_realm_module.html (and also here https://docs.ansible.com/ansible/latest/collections/community/general/), it now works. So this will need to be pinned to avoid the above problem, at least for now.
@costrouc costrouc merged commit b2583ab into nebari-dev:main Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants