.. _ansible.windows.win_share_module: ************************* ansible.windows.win_share ************************* **Manage Windows shares** .. contents:: :local: :depth: 1 Synopsis -------- - Add, modify or remove Windows share and set share permissions. Requirements ------------ The below requirements are needed on the host that executes this module. - As this module used newer cmdlets like New-SmbShare this can only run on Windows 8 / Windows 2012 or newer. - This is due to the reliance on the WMI provider MSFT_SmbShare https://msdn.microsoft.com/en-us/library/hh830471 which was only added with these Windows releases. Parameters ---------- .. raw:: html
| Key | Returned | Description |
|---|---|---|
|
actions
list
|
success |
A list of action cmdlets that were run by the module.
Sample:
['New-SmbShare -Name share -Path C:\\temp']
|