Skip to Content
Security Automation with Ansible 2
book

Security Automation with Ansible 2

by Akash Mahajan, MADHU AKULA
December 2017
Intermediate to advanced
364 pages
7h 30m
English
Packt Publishing
Content preview from Security Automation with Ansible 2

Installing IIS server using playbook

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. 

The Microsoft Web Platform Installer (Web PI) is a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing DevOps with Ansible 2

Implementing DevOps with Ansible 2

Jonathan McAllister
Practical Ansible 2

Practical Ansible 2

Daniel Oh, James Freeman, Fabio Alessandro Locati

Publisher Resources

ISBN: 9781788394512Supplemental Content