Spec-Zone.ru › Ansible

community.windows.win_webpicmd module – Installs packages using Web Platform Installer command-line

Note

This module is part of the community.windows collection (version 3.1.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
  • Parameters
  • Notes
  • See Also
  • Examples

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

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

Installs/uninstalls an installable package.

Examples

- name: Install URLRewrite2.
  community.windows.win_webpicmd:
    name: URLRewrite2

Authors

  • Peter Mounce (@petemounce)

Collection links

  • Issue Tracker
  • Repository (Sources)
  • Communication

© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/community/windows/win_webpicmd_module.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API