December 2017
Intermediate to advanced
364 pages
7h 30m
English
The following code snippet explains how we can install and start the IIS service in the Windows server operating system:
- name: Install and start IIS web server in Windows server hosts: winblows tasks: - name: Install IIS win_feature: name: "Web-Server" state: present restart: yes include_sub_features: yes include_management_tools: yes

We will be using Chocolatey (for more information, visit https://chocolatey.org/), a package manager for Windows, for advanced installations and setup in Windows.
The next step is installing the Web Platform Installer.