diff options
author | Matt Martz <matt@sivel.net> | 2018-07-03 14:08:58 -0500 |
---|---|---|
committer | Matt Davis <nitzmahone@users.noreply.github.com> | 2018-07-03 12:08:58 -0700 |
commit | 916317466d91ee56dfa0e3b98c36f5e18ab2751d (patch) | |
tree | 34df3db4cba943aead15afddd89eac8ccd786ff7 /changelogs | |
parent | 9757233a938dc05c92fdcb4bcf11d4b5e3e1edf3 (diff) | |
download | ansible-916317466d91ee56dfa0e3b98c36f5e18ab2751d.tar.gz |
Backport #41860 for 2.5 - support group_by with implicit localhost (#41926)
* Use inventory.get_host instead of direct access to inventory.hosts (#41860)
* Use inventory.get_host instead of direct access to inventory.hosts. Fixes #32152
* Prevent potential side effect, by using self._inventory.localhost directly instead of get_host
(cherry picked from commit 1a2ef0922fb63f09642fbcf05bf2069ee8684c07)
* Add changelog for #41860
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/group_by_localhost.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/group_by_localhost.yaml b/changelogs/fragments/group_by_localhost.yaml new file mode 100644 index 0000000000..81835d3fba --- /dev/null +++ b/changelogs/fragments/group_by_localhost.yaml @@ -0,0 +1,2 @@ +bugfixes: +- group_by - support implicit localhost (https://github.com/ansible/ansible/pull/41860) |