community.windows.win_webpicmd – Installs packages using Web Platform Installer command-line
Note
This plugin is part of the community.windows collection (version 1.2.0).
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 | Choices/Defaults | Comments |
---|---|---|
name string / required | 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
-
The official documentation on the ansible.windows.win_package module.
Examples
- name: Install URLRewrite2. community.windows.win_webpicmd: name: URLRewrite2
Authors
- Peter Mounce (@petemounce)
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/windows/win_webpicmd_module.html