Hello
I hit a problem when trying to install Windows Identity Extensions with ansible/chocolatey. (ansible 2.8.1)
I created an package for Windows Identity extensions:
The .nuspec
<?xml version="1.0"?>MicrosoftIdentityExtensions_x64
1.0
MicrosoftIdentityExtensions_x64Name
Microsoft
false
Windows Identity Extensions
MicrosoftIdentityExtensions_x64
tools/chocolateyInstall.ps1:
$packageArgs = @{
packageName = ‘MicrosoftIdentityExtensions-64.msi’
fileType = ‘msi’
checksum = ‘775AF844A832FB3B7A478B89880B7F09FAAC4772A029E7D55681A7E7EBB2270F’
checksumType = ‘sha256’
silentArgs = ‘/quiet IACCEPTSQLNCLILICENSETERMS=YES’
validExitCodes = @(0)
softwareName = ‘Windows Identity Extensions’
}
Install-ChocolateyPackage @packageArgs
When use ansible/chocolatey to install this package:
- name: Install Windows Identity Extensions
win_chocolatey:
name: MicrosoftIdentityExtensions_x64
source: http://local_repository/
state: present
The exit code 0 which indicated the successful installation of the package, however, It only copied the target file(s) to target location, the package is NOT showing up in control panel on target server.
When call choco command locally to install this package:
choco install -s “http://local_repository/” MicrosoftIdentityExtensions_x64 -y
the exit code is 0 and package is installed successfully .
Please help to debug