New in version 2.1.
parameter | required | default | choices | comments |
---|---|---|---|---|
path | yes | Path to be used for changing owner | ||
recurse | no | no |
| Indicates if the owner should be changed recursively |
user | yes | Name to be used for changing owner |
- name: Change owner of Path win_owner: path: C:\apache user: apache recurse: True - name: Set the owner of root directory win_owner: path: C:\apache user: SYSTEM recurse: False
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 this support of this module, please refer to this knowledge base article<https://access.redhat.com/articles/rhel-top-support-policies>
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/win_owner_module.html