mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve YAML examples - windows/win_file_version.py (#19399)
This commit is contained in:
parent
0aa16b36b7
commit
9b3d9e1780
1 changed files with 2 additions and 5 deletions
|
@ -38,17 +38,14 @@ options:
|
|||
author: Sam Liu
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# get C:\Windows\System32\cmd.exe version in playbook
|
||||
---
|
||||
EXAMPLES = r'''
|
||||
- name: Get acm instance version
|
||||
win_file_version:
|
||||
path: 'C:\Windows\System32\cmd.exe'
|
||||
path: C:\Windows\System32\cmd.exe
|
||||
register: exe_file_version
|
||||
|
||||
- debug:
|
||||
msg: '{{ exe_file_version }}'
|
||||
|
||||
'''
|
||||
|
||||
RETURN = """
|
||||
|
|
Loading…
Reference in a new issue