Parameter | Choices/Defaults | Comments |
---|---|---|
path path / required | Path to be used for changing owner. | |
recurse boolean |
| Indicates if the owner should be changed recursively. |
user string / required | Name to be used for changing owner. |
See also
- 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
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/win_owner_module.html