I know its possible and there are plugins for Foreman for Ansible but I'm
unable to get them talking. I have setup identical CentOS 7 vm's, one
running Foreman the other Ansible. I've set the config as described
here: Foreman :: Plugin Manuals
However running an inventory on a single, specific host fails to send that
info to Foreman. And of course Im extremely green to both so any help
would be greatly appreciated.
Thanks
Ben
I got the callback working. If I execute ansible from the commandline then
the host appears in Foreman. As quick workaround I have disabled SSL/Https
on foreman.
> I know its possible and there are plugins for Foreman for Ansible but I'm
> unable to get them talking. I have setup identical CentOS 7 vm's, one
> running Foreman the other Ansible. I've set the config as described
> here: Foreman :: Plugin Manuals
> However running an inventory on a single, specific host fails to send that
> info to Foreman. And of course Im extremely green to both so any help
> would be greatly appreciated.
Did you follow the 2.1 Ansible callback instructions? You'd need the callback
in the host that runs the roles playbook (foreman or a smart proxy),
ensure it's enabled in /etc/ansible/ansible.cfg too
···
On 10/12, Ben Hart wrote:Thanks
Ben–
You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
–
Daniel Lobato Garcia
@dLobatog
blog.daniellobato.me
daniellobato.me
GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato