Running a command across all physical hosts, such as seeing the IP addresses for all containers on all through lxc.

`ansible "hosts:is_metal" -m "shell" -a "lxc-ls -f"`

----
Running a command against all containers

```ansible "hosts:all_containers" -m "shell" -a "ip a"```

----
Building an inventory file without executing playbooks


Icehouse/Juno:

```
$ cd rpc_deployment
$ inventory/dynamic_inventory.py \
 --file /etc/rpc_deploy/rpc_user_config.yml
```

Kilo/Liberty

```
$ cd playbooks
$ inventory/dynamic_inventory.py \
--file /etc/openstack_deploy/openstack_user_config.yml
```