Inventory group not getting created when using add_host and one of the iteration of task fails.

Inventory group not getting created when using add_host and one of the iteration of task fails.

Below is the playbook

it is not really effective until the 'next play' as modifying the
current play's data is very problematic.