Meta: Refresh_Inventory does not respect When conditions and will always run. #38074
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
meta: refresh_inventory
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Running from Ubuntu 16.04 control machine talking to AWS.
SUMMARY
The meta: refresh_inventory does not respect a when condition and will always run regardless of the when condition.
STEPS TO REPRODUCE
EXPECTED RESULTS
For the refresh_inventory to respect the when condition and only run when it's required.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: