mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
5aff694dc4
Writing tests caught a bug in PR #3393, which enabled installing more than one package per `pkg` execution. In converting the module's install/upgrade code to a queue structure, check_mode got broken because the count of actions performed was only updated in the `if not check_mode` block that invokes `pkg`. This two-line change counts the number of actions in the queue when check mode is enabled. |
||
---|---|---|
.. | ||
action | ||
become | ||
cache | ||
callback | ||
connection | ||
doc_fragments | ||
filter | ||
inventory | ||
lookup | ||
module_utils | ||
modules |