Hi,
Just thought I'd share a blog post I've written about Foreman and
Fabric integration.
Short summary:
Say you have a bunch of hosts in Foreman, and they have host params
set (either directly or via host group). And you use Fabric to run
simple tasks on your machines. Assume you want to run a task on hosts
that meet some hostparam criteria (datacentre=europe, or something
like that). Here's how you do it:
http://sysadminpy.com/sysadmin/2012/03/24/use-foreman-host-parameters-from-fabric/
Cheers,
Rytis