Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure setting facts with run_once makes copies of the data
When using run_once, there is only one dict of facts so passing that to the VariableManager results in the fact cache containing the same dictionary reference for all hosts in inventory. This patch fixes that by making sure we pass a copy of the facts dict to VariableManager. Fixes ansible#14279
- Loading branch information