diff options
author | Matt Williams <matt@milliams.com> | 2019-04-01 21:30:36 +0100 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2019-04-01 13:30:36 -0700 |
commit | 78844c800fd2a565d77ccbecdab0d011d0f72c6c (patch) | |
tree | 81c1c113459ed013edc6e3d55acab01ac1bf7ec4 /changelogs/fragments | |
parent | 08dbeff2045429918b1280ba8b22a64c820e5a17 (diff) | |
download | ansible-78844c800fd2a565d77ccbecdab0d011d0f72c6c.tar.gz |
Fix Foreman returning host parameters (#54101)
* Fix Foreman returning host parameters
Foreman (1.20) returns the `all_parameters` key as a list of dicts, not a dict of key-value pairs.
* Fix for type error
The empty type here should be a dict, not a list as is has a `get` done
on it next.
(cherry picked from commit e94e80c79eab425637638205efa0eae368389dcd)
* Return dict directly to avoid failing key lookup
(cherry picked from commit 545b98645d04b2d26eb95354d8edf4d8e9d4e2a2)
* Add changelog fragment for #54333
Diffstat (limited to 'changelogs/fragments')
-rw-r--r-- | changelogs/fragments/54101-backport-51034-foreman-inventory.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/54101-backport-51034-foreman-inventory.yaml b/changelogs/fragments/54101-backport-51034-foreman-inventory.yaml new file mode 100644 index 0000000000..f793dd631d --- /dev/null +++ b/changelogs/fragments/54101-backport-51034-foreman-inventory.yaml @@ -0,0 +1,2 @@ +bugfixes: + - foreman - fix Foreman returning host parameters |