mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Improve YAML examples - windows/win_owner.py (#19406)
This commit is contained in:
parent
12205598c3
commit
beb6ed08cd
1 changed files with 6 additions and 8 deletions
|
@ -52,22 +52,20 @@ options:
|
||||||
author: Hans-Joachim Kliemeck (@h0nIg)
|
author: Hans-Joachim Kliemeck (@h0nIg)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = r'''
|
||||||
# Playbook example
|
|
||||||
---
|
|
||||||
- name: Change owner of Path
|
- name: Change owner of Path
|
||||||
win_owner:
|
win_owner:
|
||||||
path: 'C:\\apache\\'
|
path: C:\apache
|
||||||
user: apache
|
user: apache
|
||||||
recurse: yes
|
recurse: True
|
||||||
|
|
||||||
- name: Set the owner of root directory
|
- name: Set the owner of root directory
|
||||||
win_owner:
|
win_owner:
|
||||||
path: 'C:\\apache\\'
|
path: C:\apache
|
||||||
user: SYSTEM
|
user: SYSTEM
|
||||||
recurse: no
|
recurse: False
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue