community.windows.win_webpicmd (2.2.0) — module

Installs packages using Web Platform Installer command-line

Authors: Peter Mounce (@petemounce)

Install collection

Install with ansible-galaxy collection install community.windows:==2.2.0


Add to requirements.yml

  collections:
    - name: community.windows
      version: 2.2.0

Description

Installs packages using Web Platform Installer command-line (U(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 M(chocolatey.chocolatey.win_chocolatey) module; 'webpicmd' is the package name, and you must install 'lessmsi' first too)?

Install IIS first (see M(ansible.windows.win_feature) module).

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Install URLRewrite2.
  community.windows.win_webpicmd:
    name: URLRewrite2

Inputs

    
name:
    description:
    - Name of the package to be installed.
    required: true
    type: str

See also