community.windows.win_webpicmd module – Installs packages using Web Platform Installer command-line
Note
This module is part of the community.windows collection (version 2.3.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.windows
.
To use it in a playbook, specify: community.windows.win_webpicmd
.
Synopsis
Installs packages using Web Platform Installer command-line (http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release).
Must be installed and present in PATH (see chocolatey.chocolatey.win_chocolatey module; ‘webpicmd’ is the package name, and you must install ‘lessmsi’ first too)?
Install IIS first (see ansible.windows.win_feature module).
Parameters
Parameter |
Comments |
---|---|
Name of the package to be installed. |
Notes
Note
Accepts EULAs and suppresses reboot - you will need to check manage reboots yourself (see ansible.windows.win_reboot module)
See Also
See also
- ansible.windows.win_package
Installs/uninstalls an installable package.
Examples
- name: Install URLRewrite2.
community.windows.win_webpicmd:
name: URLRewrite2