← All posts tagged ansible


Если ваш ansible посылает вас при установке софта на windows 10 ошибкой вида:

"msg": "the file at the UNC path \\\\server\\soft\\google\\google-chrome-AMD64.msi cannot be reached, ensure the user_name account has access to this path or use an auth transport with credential delegation"

добавьте в таск эти волшебные строки:

become: yes
become_method: runas
become_flags: logon_type=new_credentials logon_flags=netcredentials_only

Найдено в https://www.bloggingforlogging.com/2018/01/24/demystifying-winrm/