-
Notifications
You must be signed in to change notification settings - Fork 11
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
Implemented user authentication and parameter #2
base: master
Are you sure you want to change the base?
Conversation
Hi Sven,
My typical use-case for this role can be seen in playbook mentioned in this blogpost - https://www.famera.cz/blog/ansible/creating_ha_clusters_with_storage_v2.html
I can see that you have tried to supply the default filters to role, but in this case it doesn't work. I have tried few approaches to avoid this but so far without success. I will have again over week. However this is at the moment a blocker as I cannot create non-authenticated iSCSI with this change anymore. In case you have idea how to fix this feel free to reply. I will check mostly if there is some sane workaround to get this working.
I would at this moment focus on getting the As with the other PR, feel free to ask if you have any questions to above ;) Ondrej |
Hi Sven, Thank you for your patience. So I think I have found the reason for the error I see - older Ansible version :) I was using Ansible 2.7.10 and recently after upgrade to 2.8.0 "it just works".
So as for now the changes in @slueder please let me know if you can have a look at this in upcoming two weeks or if you would need more time. If there are any questions feel free to ask anytime. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally meta/main.yml
needs to be changed. min_ansible_version: 2.8
should be used there.
with_subelements: | ||
- "{{ iscsi_targets }}" | ||
- initiators | ||
notify: | ||
- save targetcli configuration | ||
#no_log: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should not be present here but in OndrejHome.targetcli-modules
ansible role modules
Hi Ondrej,
you have done a very good job creating this module.
I needed some enhancements in the area of initiator-based authentication and connection-related parameters.
Therefore I enhanced the code a bit, please find the result attached to this pull request.
Do you mind including this in your code so that these changes can be maintained in this module for the future ?
Best regards and keep up the good work,
Sven