On 08/01, 'KaneK' via Foreman users wrote: > Hi, I have followed the instructions to set-up Foreman-Ansible and i never > see any hosts appear. This is a clean install on 2 vm clients (SL6 +SL7) > and a physical (Centos 7) machine. The 'master' server, foreman + ansible > is the SL7 vm. > > All machines can resolve via hosts, hostname -f gives fqdn > I can execute any Ansible command and run playbooks. > Foreman has the 'master' in hosts via the puppet agent. > I have the plugin and callback installed > The callback has been modded for the foreman url > https://sl7.localdomain.net, the ssl cert and key point to the > /etc/puppetlabs..pem files > I have tried ssl verify on and off > Foreman web Administer > settings > auth > Trusted puppetmaster hosts has > the fqdn [ sl7.localdomain.net ] > > I am stumped, the hosts just never appear and there is nothing in the very > sparse plugin manual suggesting where to start looking.
What do you see in the foreman logs (/var/log/foreman/production.log) when you run 'ansible-playbook'? You should see some call to api/v2/hosts/facts How about when you run 'ansible-playbook'? What's the output? The callback needs to be installed on the host from which you run 'ansible-playbook' from in order to work > > Any suggestions... > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
