mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Improve YAML examples - windows/win_file_version.py (#19399)
This commit is contained in:
committed by
Matt Davis
parent
0aa16b36b7
commit
9b3d9e1780
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user