Ansible callback plugin creates duplicate hosts

I made a very simple playbook which does nothing about setup: the machine to provision it into Foreman.
Each time I run it, it creates a duplicate in foreman hosts list.

Expected outcome:
New SSH key used for ansible connection

Foreman and Proxy versions:
Foreman 2.3.1
Proxy 2.3.1
Ansible 6.0.1
Remote execution 4.2.1

Distribution and version:
CentOS 7

Additional data
Seem related to this bug
Append domain names to the host is set to Yes
Ansible facts are populated as expected:
ansible_hostname: hostname
ansible_fqdn: hostname.domain.local
Hosts appears as hostname.domain.local in the hosts list
Host is accessed though SSH Proxy setting the variable ansible_ssh_common_args: "-o ProxyCommand='ssh -o StrictHostKeyChecking=no -o IdentityFile=/home/ocd-deployment/.ssh/id_ed25519 -W %h:%p -q ocd-deployment@proxy'" in the playbook

I removed all hosts with hammer and retried, in fact the second playbook run I have three hosts:

  • hostname.domain.local (created at first run, facts populated)
  • hostname.domain.local (created at second run, facts populated)
  • hostname (created at second run, no facts)