-
Notifications
You must be signed in to change notification settings - Fork 4
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
refactor the system ldap role #5511
base: main
Are you sure you want to change the base?
Conversation
209c225
to
cfb1889
Compare
938eb4c
to
910e1b9
Compare
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.
Nice! This is a great step toward flexibility in building systems - we can use an AD binding wherever we want to.
I had a couple of questions and suggestions, see below.
a5a6940
to
037476c
Compare
changed_when: false | ||
when: running_on_server | ||
|
||
- name: Sssd_ad | debug realm list output |
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.
Let's change this so it stops the playbook if the output is not correct at this stage.
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.
only way to know what this output is will make this PR larger by incorporating this. https://github.com/pulibrary/princeton_ansible/tree/i4938_sftp_role
register: ad_login_result | ||
when: running_on_server | ||
|
||
- name: Sssd_ad | debug AD login result |
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.
Make this fail if the output is not correct/complete.
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.
Same here. I don't know what the output would be https://github.com/pulibrary/princeton_ansible/tree/i4938_sftp_role
we will create a system ldap role which can be used to bind vms to active directory and sftp role and/or playbook can incorporate this role
our Active Directory bind user goes to group_vars/all because it will be used by any VM that needs to bind to Active Directory
Co-authored-by: Alicia Cozine <[email protected]>
037476c
to
a76b0dc
Compare
we will create a system ldap role which can be used to bind vms to active directory
and sftp role and/or playbook can incorporate this role
This PR decouples system ldap from sftp. If it goes in it means any vm that needs to bind to active directory can use it. We've had an example of this need with the RDSS mflux vms. Our Active Directory binding is currently broken so this can be merged to main. A follow up PR for lib-sftp will be coming.
Partially addresses #4938