New in version 2.1.
Parameter | Choices/Defaults | Comments |
---|---|---|
path
required |
Path to be used for changing owner
|
|
recurse |
|
Indicates if the owner should be changed recursively
|
user
required |
Name to be used for changing owner
|
- name: Change owner of Path
win_owner:
path: C:\apache
user: apache
recurse: yes
- name: Set the owner of root directory
win_owner:
path: C:\apache
user: SYSTEM
recurse: no
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For more information about Red Hat’s support of this module, please refer to this Knowledge Base article
Hint
If you notice any issues in this documentation you can edit this document to improve it.