Hey All,

I've just installed foreman & ansible freshly on Cent OS7.

Foreman works fine, I wrote a basic playbook that gathers the facts and 
copies a file in place.

---
 - name: test the ansible
   hosts:
     - foreman.levene.local
   gather_facts: yes
   tasks:
     - name: test the file
       copy: src=/tmp/aa dest=/etc/


This all works OK, and it creates the hosts (followed 
https://theforeman.org/plugins/foreman_ansible/1.x/index.html)

PLAY [test the ansible] 
********************************************************************************************************************************************************************************

TASK [Gathering Facts] 
*********************************************************************************************************************************************************************************
ok: [foreman.levene.local]

TASK [test the file] 
***********************************************************************************************************************************************************************************
ok: [foreman.levene.local]

PLAY RECAP 
*********************************************************************************************************************************************************************************************
foreman.levene.local       : ok=2    changed=0    unreachable=0    failed=0

In foreman however, the host has no facts. I can see them all gathered in 
the report, but they don't seem to be correctly detected/imported into 
foreman facts.

Is this a bug? or have I missed a setting somewhere?

Thanks
David


-- 
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.

Reply via email to