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
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
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