Upload Facts Through SmartProxy!

Expected outcome:

Foreman and Proxy versions:

Foreman and Proxy plugin versions:


While uploading facts through ansible by defaults hosts are creating under default organization, is there any option to specify organization name while upload facts to create under specific organization. Can we use smart proxy to upload facts, as smart proxy is reserved for organization. If possible please let me know the process.

Other relevant data:


Even i tried to pass organization_id while generating facts through ansible but still foreman considering organizationid is 1.

2020-07-11T15:10:14 [I|aud|f6fec841] Host::Base (89) update event on organization_id , 1
2020-07-11T15:10:14 [I|aud|f6fec841] Host::Base (89) update event on location_id , 2

There is a setting in Administer for puppet facts, the question is if Ansible uses this.