forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win_package: rewrite, check mode, tests, more check options (ansible#…
…27470) * rewrite of win_package to enable win_msi deprecation * fix some minor doc issues * Removed exe tests * dag's changes seem to be missing, re-add them * fixed yaml for return values
- Loading branch information
Showing
11 changed files
with
1,901 additions
and
1,371 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
--- | ||
# spaces are tricky, let's have one by default | ||
test_win_package_path: C:\ansible\win package | ||
test_win_package_good_url: https://s3.amazonaws.com/ansible-ci-files/test/integration/roles/test_win_package/good.msi | ||
test_win_package_reboot_url: https://s3.amazonaws.com/ansible-ci-files/test/integration/roles/test_win_package/reboot.msi | ||
test_win_package_bad_url: https://s3.amazonaws.com/ansible-ci-files/test/integration/roles/test_win_package/bad.msi | ||
test_win_package_exe_url: https://s3.amazonaws.com/ansible-ci-files/test/integration/roles/test_win_package/7z.exe # TODO: change to it's own executable | ||
|
||
msi_url: https://ansible-ci-files.s3.amazonaws.com/test/integration/roles/test_win_msi/7z922-x64.msi | ||
msi_download_path: "C:\\Program Files\\7z922-x64.msi" | ||
msi_install_path: "C:\\Program Files\\7-Zip" | ||
msi_product_code: "{23170F69-40C1-2702-0922-000001000000}" | ||
test_win_package_good_id: '{223D9A13-653B-4231-A365-EDDC30B4F226}' | ||
test_win_package_reboot_id: '{223D9A13-653B-4231-A365-EDDC30B4F227}' | ||
test_win_package_exe_id: 7-Zip | ||
|
||
# define the below to run the network tests, all 3 msi's should exist in this path | ||
# test_win_package_network_path: \\ANSIBLE\network | ||
|
||
# set the below to test a network path without credential delegation like Basic or NTLM | ||
# test_win_package_network_username: ANSIBLE\User | ||
# test_win_package_network_password: Password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="223D9A13-653B-4231-A365-EDDC30B4F228" UpgradeCode="575580C0-AFA1-4C17-8A9C-3CB0CEDC6A06" Name="Bovine University" Manufacturer="Ansible" Version="1.0.0" Language="1033" Codepage="1252"> | ||
<Package InstallerVersion="200" Compressed="yes" Comments="When I grow up I want to go to Bovine University" /> | ||
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" /> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="223D9A13-653B-4231-A365-EDDC30B4F226" UpgradeCode="575580C0-AFA1-4C17-8A9C-3CB0CEDC6A05" Name="Bovine University" Manufacturer="Ansible" Version="1.0.0" Language="1033" Codepage="1252"> | ||
<Package InstallerVersion="200" Compressed="yes" Comments="When I grow up I want to go to Bovine University" /> | ||
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" /> | ||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLDIR" Name="Bovine University"> | ||
<Component Id="MooFiles" Guid="D7BC586D-A23C-4002-BC20-76579F25C67D"> | ||
<File Id="MooFile" Source="moo.exe" /> | ||
</Component> | ||
<Component Id="CowFiles" Guid="D1801B2D-8E54-4F19-8B14-A42D8A122A24"> | ||
<File Id="CowFile" Source="cow.exe" /> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
|
||
<Feature Id="Moo" Level="1"> | ||
<ComponentRef Id="MooFiles" /> | ||
</Feature> | ||
<Feature Id="Cow" Level="1"> | ||
<ComponentRef Id="CowFiles" /> | ||
</Feature> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="223D9A13-653B-4231-A365-EDDC30B4F227" UpgradeCode="575580C0-AFA1-4C17-8A9C-3CB0CEDC6A06" Name="Bovine University" Manufacturer="Ansible" Version="1.0.0" Language="1033" Codepage="1252"> | ||
<Package InstallerVersion="200" Compressed="yes" Comments="When I grow up I want to go to Bovine University" /> | ||
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" /> | ||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLDIR" Name="Bovine University"> | ||
<Component Id="MooFiles" Guid="D7BC586D-A23C-4002-BC20-76579F25C67D"> | ||
<File Id="MooFile" Source="moo.exe" /> | ||
</Component> | ||
<Component Id="CowFiles" Guid="D1801B2D-8E54-4F19-8B14-A42D8A122A24"> | ||
<File Id="CowFile" Source="cow.exe" /> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
|
||
<Feature Id="Moo" Level="1"> | ||
<ComponentRef Id="MooFiles" /> | ||
</Feature> | ||
<Feature Id="Cow" Level="1"> | ||
<ComponentRef Id="CowFiles" /> | ||
</Feature> | ||
|
||
<InstallExecuteSequence> | ||
<ScheduleReboot After="InstallFinalize" /> | ||
</InstallExecuteSequence> | ||
</Product> | ||
</Wix> |
Oops, something went wrong.