24 lines
485 B
Markdown
24 lines
485 B
Markdown
|
Inventory scripts for Ansible: LXC
|
||
|
==================================
|
||
|
|
||
|
Dependencies
|
||
|
------------
|
||
|
- `lxc` Python module
|
||
|
|
||
|
Usage
|
||
|
-----
|
||
|
% ansible-inventory --graph -i inventory_lxc_ip.py
|
||
|
% ansible-inventory --graph -i inventory_lxc.py
|
||
|
|
||
|
Connection
|
||
|
----------
|
||
|
- `inventory_lxc.py` uses `ansible_connection=lxc`
|
||
|
- `inventory_lxc_ip.py` uses first IPv4 reported by LXC
|
||
|
|
||
|
Author Information
|
||
|
------------------
|
||
|
|
||
|
Sven Velt - <sven-ansiblerole@velt.biz>
|
||
|
https://git.velt.biz/velt.biz/
|
||
|
|