Chapter 12, Ansible Windows Modules

  1. Which of the following two modules can be used on both a Windows and Linux host: setup, or file?

The setup module

  1. True or false: You can use SSH to access your Windows target.

False

  1. Explain the type of interface WinRM uses.

WinRM uses a SOAP interface rather than an interactive shell

  1. Which Python module do you need to install to be able to interact with WinRM on macOS and Linux?

The pywinrm module

  1. True or false: You can have a separate task to install Chocolatey before you use the win_chocolatey module.

False

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.