Software - MSI package
Description
Generic automation that installs or upgrades an MSI package on Windows servers. It copies the installer files, checks the current installed version, and upgrades the packages if the installed version is older than the MSI. If the installed version is newer of eqaul, noting is done. Can be used to install or uninstall the package based on the specified action.
The packages themself need to be placed on \stadgent\Junction\Automation\windows_software
Warning
The foldername is the name of the var package.
The name of package also must match the name in add/remove software in Windows to get proper detection of the current installed version.
You can get this using line of powershell code:
This playbook is used for the following Ansible jobs:
- Server - Windows - Software - ADAuditPlusAgent
- Server - Windows - Software - Edge Browser
- Server - Windows - Software - Install 7zip
- Server - Windows - Software - Install Rapid7 Insight Agent
- Server - Windows - Software - Install Rapid7 InsightVM Scan Assistant
- Server - Windows - Software - Install SentinelOne
- Server - Windows - Software - Install Velociraptor
- Server - Windows - Software - LAPS
- Server - Windows - Software - Netwrix User Activity Monitoring
- Server - Windows - Software - NSClient
Credentials
- sys_ansible_windows
Input
| Variable | Description |
|---|---|
target |
Target hosts for the playbook |
package |
Name of the MSI package |
version |
Version of the MSI package |
msi_action |
Action to perform: 'install' or 'uninstall' |
Output
None