-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add ldap support to vault container in docker dev environment #14777
Conversation
0eda704
to
6134ad3
Compare
8d1175c
to
0a00133
Compare
tools/docker-compose/ansible/roles/sources/templates/ldap.ldif.j2
Outdated
Show resolved
Hide resolved
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.
linters: commands[2]> yamllint -s .
./tools/docker-compose/ansible/roles/vault/defaults/main.yml
9:11 warning too few spaces before comment (comments)
9:12 warning missing starting space in comment (comments)
10:11 warning too few spaces before comment (comments)
10:12 warning missing starting space in comment (comments)
./tools/docker-compose/ansible/roles/vault/tasks/plumb.yml
97:16 error trailing spaces (trailing-spaces)
98:16 error trailing spaces (trailing-spaces)
107:48 error trailing spaces (trailing-spaces)
./tools/docker-compose/ansible/roles/vault/tasks/initialize.yml
104:17 error wrong indentation: expected 14 but found 16 (indentation)
188:17 error wrong indentation: expected 14 but found 16 (indentation)
194:1 error trailing spaces (trailing-spaces)
205:19 error wrong indentation: expected 16 but found 18 (indentation)
@thedoubl3j in your VSCode u can have it automatically trim trailing whitespace open command pallet and type |
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.
I was able to successfully retrieve both the userpass and ldap secrets via these steps!
tools/docker-compose/ansible/roles/sources/templates/ldap.ldif.j2
Outdated
Show resolved
Hide resolved
cd9eae2
to
ee358a8
Compare
f9e3930
to
ade553b
Compare
…e#14777) * add ldap_auth mount and configure it * added in key engines, userpass auth method, still needs testing * add policies and fix ldap_user * start awx automation for vault demo and move ldap * update docs with new flags/new credentials
…e#14777) * add ldap_auth mount and configure it * added in key engines, userpass auth method, still needs testing * add policies and fix ldap_user * start awx automation for vault demo and move ldap * update docs with new flags/new credentials
SUMMARY
This PR will configure the vault container with LDAP and userpass auth_methods for dev stack.
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION
To test this change, pull this branch down and run:
_sources
in docker compose or you can run the unseal playbook.