How to run ansible playbook on multiple hosts with LDAP credentials?
116 views
Skip to first unread message
Linux Study
unread,
Oct 25, 2021, 6:57:57 AM10/25/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hello All,
I want execute some playbooks on multiple hosts with LDAP credentials. I don't want this activity password less. I don't want to share SSH keys between hosts. Is it possible to run playbook with LDAP credentials?
Regards,
Abhi
Roberto Paz
unread,
Oct 25, 2021, 8:57:16 AM10/25/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
You are not forced to use asymetric keys validation. You can use regular authentication using "-k" and "-K" parametters.
Also, you can provide differente ssh users on every server (if required) adding "ansible_user" variable to the inventory file: