one_host: Fix ID logic (#8907)

* Fix one_host module

* Add CHANGELOG fragment

* PR Fixes

* Update exceptions
This commit is contained in:
alexander
2024-10-10 23:02:51 +03:00
committed by GitHub
parent ec6496024f
commit 8df9d0d7de
2 changed files with 38 additions and 23 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- one_host - fix if statements for cases when ``ID=0`` (https://github.com/ansible-collections/community.general/issues/1199, https://github.com/ansible-collections/community.general/pull/8907).