1
0
Fork 0
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:
Fabio Alessandro Locati 2016-12-15 23:54:12 +01:00 committed by Matt Davis
parent 0aa16b36b7
commit 9b3d9e1780

View file

@ -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 = """