Ansible + Chocolatey + Windows File based local repository

15 views
Skip to first unread message

Adam Brush

unread,
Nov 23, 2017, 6:06:36 AM11/23/17
to Ansible Project
Morning,

I've had issues with getting Ansible / Chocolatey to use a network share local file server / repository, however i've now managed to get it working.

Details here:


A

J Hawkesworth

unread,
Nov 24, 2017, 8:43:52 AM11/24/17
to Ansible Project
Good to know there's a workaround
I think if you used Kerberos for authentication, and configure your inventory/group_vars for credential delegation, your ansibles modules will connect to the shares as the same user that ansible connected as, meaning you shouldn't have to setup anonymous access.

See the vars you can set at the bottom of this section of the documentation:
http://docs.ansible.com/ansible/latest/intro_windows.html#inventory

In my experience this works fine as long as the share is also a domain-joined machine.  If you are using a NAS-type device which doesn't authenticate with AD then the credential delegation won't help you.

Hope this helps,

Jon
Reply all
Reply to author
Forward
0 new messages