Result: apt : check hello with dpkg
Field Value
changed
True
cmd
dpkg-query -l hello
delta
0:00:00.007663
end
2019-05-31 14:45:57.143838
failed_when_result
False
rc
0
start
2019-05-31 14:45:57.136175
stderr

stderr_lines
[]
stdout
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-==================================
ii  hello          2.10-1build1 amd64        example package based on GNU hello
stdout_lines
[
    "Desired=Unknown/Install/Remove/Purge/Hold",
    "| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend",
    "|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)",
    "||/ Name           Version      Architecture Description",
    "+++-==============-============-============-==================================",
    "ii  hello          2.10-1build1 amd64        example package based on GNU hello"
]