Update win_disk_facts.py example (#63266)
Fix incorrect index for second disk (should be `disks[1]` not `disks[0]`)
This commit is contained in:
parent
aa04e61c89
commit
ce1c8c24f7
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ EXAMPLES = r'''
|
||||||
|
|
||||||
- name: Output second disk serial number
|
- name: Output second disk serial number
|
||||||
debug:
|
debug:
|
||||||
var: ansible_facts.disks[0].serial_number
|
var: ansible_facts.disks[1].serial_number
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
|
|
Loading…
Reference in a new issue