I think this is covered by using the inventory-manager:
/opt/os-ansible-deployment/scripts# ./inventory-manage.py -f /etc/rpc_deploy/rpc_inventory.json -l +----------------+---------------+---------------------+----------------------+----------------+------------------+-----------------------------+ | container_name | is_metal | component | physical_host | tunnel_address | ansible_ssh_host | container_types | +----------------+---------------+---------------------+----------------------+----------------+------------------+-----------------------------+ | infra01 | True | None | infra01 | None | 172.29.236.51 | infra01_containers | | infra02 | True | None | infra02 | None | 172.29.236.52 | infra02_containers |
I think this is covered by using the inventory-manager:
/opt/os- ansible- deployment/ scripts# ./inventory- manage. py -f /etc/rpc_ deploy/ rpc_inventory. json -l ------- ---+--- ------- -----+- ------- ------- ------+ ------- ------- ------- -+----- ------- ----+-- ------- ------- --+---- ------- ------- ------- ----+ ------- ---+--- ------- -----+- ------- ------- ------+ ------- ------- ------- -+----- ------- ----+-- ------- ------- --+---- ------- ------- ------- ----+
+------
| container_name | is_metal | component | physical_host | tunnel_address | ansible_ssh_host | container_types |
+------
| infra01 | True | None | infra01 | None | 172.29.236.51 | infra01_containers |
| infra02 | True | None | infra02 | None | 172.29.236.52 | infra02_containers |