Hi Shyam! I've had a similar problem: the solution I've found was to change the Foreman callback that comes with Ansible, in the way described at this link: https://github.com/theforeman/foreman_ansible/issues/86#issuecomment-302123143 . Don't know if this will solve all the problems. I've solved the user issues exporting a new ssh key for the 'foreman' user on my hosts, but I'm not sure that's is the best way. Best. Pietro Gabelli
On Thursday, August 3, 2017 at 11:19:41 AM UTC+2, shyam sundar Keshari wrote: > > Hi friends: > > I am trying to integrate Foreman with Ansible but not able to make it > working : > > Version details : > > Ansible : -->> ansible 2.3.1.0 > config file = /etc/ansible/ansible.cfg > configured module search path = Default w/o overrides > python version = 2.7.5 (default, Nov 6 2016, 00:28:07) [GCC 4.8.5 > 20150623 (Red Hat 4.8.5-11)] > > foreman dashboard version : 1.15.2 > > I have followed the official URL to integrate Foreman with Ansible . > > But i am not able to make it work . > > Issue : > > 1.>NO facts coming > 2.>When i set password in Foreman for root user in Ansible tab ,and then > able to execute playbook in role . > > > Kindly update what are more changes I need to make at ansible and foreman > end to make it work . > > If anyone done this ,it will be grt you like to share it . > > Thanks in Advance : > > > -- 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.
