community.windows.win_webpicmd 模块 – 使用 Web 平台安装程序命令行安装软件包

注意

此模块是 community.windows 集合 (版本 2.3.0) 的一部分。

如果您正在使用 ansible 包,您可能已经安装了这个集合。它不包含在 ansible-core 中。要检查是否已安装,请运行 ansible-galaxy collection list

要安装它,请使用: ansible-galaxy collection install community.windows

要在 playbook 中使用它,请指定: community.windows.win_webpicmd

概要

参数

参数

注释

name

string / 必选

要安装的软件包的名称。

注意

注意

另请参阅

另请参阅

ansible.windows.win_package

安装/卸载可安装的软件包。

示例

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

作者

  • Peter Mounce (@petemounce)