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.
New SSH key used for ansible connection
Foreman and Proxy versions:
Remote execution 4.2.1
Distribution and version:
Seem related to this bug
Append domain names to the host is set to
Ansible facts are populated as expected:
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