Debian Codegraph @

ansible_collections/community/windows/plugins/modules/win_webpicmd.py

raw
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Copyright: (c) 2015, Peter Mounce <[email protected]>
5 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 DOCUMENTATION = r'''
8 ---
9 module: win_webpicmd
10 short_description: Installs packages using Web Platform Installer command-line
11 description:
12 - Installs packages using Web Platform Installer command-line
13 (U(http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release)).
14 - Must be installed and present in PATH (see M(chocolatey.chocolatey.win_chocolatey) module; 'webpicmd' is the package name, and you must install
15 'lessmsi' first too)?
16 - Install IIS first (see M(ansible.windows.win_feature) module).
17 notes:
18 - Accepts EULAs and suppresses reboot - you will need to check manage reboots yourself (see M(ansible.windows.win_reboot) module)
19 options:
20 name:
21 description:
22 - Name of the package to be installed.
23 type: str
24 required: yes
25 seealso:
26 - module: ansible.windows.win_package
27 author:
28 - Peter Mounce (@petemounce)
29 '''
30
31 EXAMPLES = r'''
32 - name: Install URLRewrite2.
33 community.windows.win_webpicmd:
34 name: URLRewrite2
35 '''