September 2018
Beginner to intermediate
214 pages
5h 53m
English
This is a module to create, update, and remove files and folders on remote Windows hosts. This sample playbook shows how to manage a file and folder on a Windows system:
- name: add a new file win_file: path: C:\scripts\PSscript2.ps1 state: touch - name: remove a folder win_file: path: C:\scripts\TestScripts state: absent
This module does not change file permissions. To do this, you need to use the win_share module.
Read now
Unlock full access