Ok, when I add this to the gemfile, it seems i am running in an bug with the 3.0.1 version of foreman_ansible_core, as described here
But it seems the 3.0.1 is the latest deb-package version available: http://deb.theforeman.org/pool/bionic/2.1/r/ruby-foreman-ansible-core/
When will these packages be updated?
Thank you very much!