This change aims to bring behavior prior to ansible-core 2.19, where rejectattr will keep elements, where the rejected key is not present. This allows to avoid extremely complex jinja statements to select defined and then merge with undefined. Change-Id: I680efa6f9da306d95af51ea118d388b10343a526 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>