hi guys,

our control machine is configured so that we can login to the machine with 
our LDAP (windows) users. from there we run ansible playbooks.

here are some of the configurations we use:

[windows:vars]
ansible_ssh_user=[DeployUser]@[OurDomain]
ansible_ssh_pass=password
ansible_connection=winrm

the [DeployUser] is not the same as the LDAP user to login to the ansible 
control machine.

yet when running powershell modules on a windows machine we noticed that 
Ansible will use the LDAP user used to login to control machine and not the 
user configured in the hosts file on ansible_ssh_user. 

from what i understand ansible should use the ansible_ssh_user on windows 
machine to do whatever but for us it uses the LDAP user???

anyone encounter this issue? please help!


thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4c809051-108d-4d95-bf90-f3670e76e29e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to