Windows with Ansible samples & tips

Samples of Playbook, PowerShell and so on to manage Windows Server with Ansible as indicated in the figure below.

Windows with Ansible samples & tips

Ansible: Remote execution with Excel parameter sheets

This post shows how to convert excel parameter-sheets into variables that can be used in Ansible. The following is summary. 1. Convert excel into csv file 2. Convert csv file into host variables of Ansible 3. Use host variables in Ansible
Windows with Ansible samples & tips

Ansible: Retry processing

This post shows how to retry Ansible module in Playbook. To retry, use until.
Windows with Ansible samples & tips

Ansible: Using changed_when in playbook

This post shows how to use changed_when in playbook of Ansible. It is one of the important elements to write playbook with idempodency.
Windows with Ansible samples & tips

Ansible: How to run PowerShell script on Windows Server

This post shows how to run PowerShell script on Windows Server target with Ansible. There are three manners: - Run a script written in a Playbook - Run ps1 file that is on Ansible Controller - Run ps1 file that is on Target
Windows with Ansible samples & tips

Ansible: Recommended directory structure and using variables

This post shows about a directory structure and using variables of Ansible I recommend from the aspect of management and operation.