inventory-scripts.lxc/README.md
2024-09-20 09:48:55 +02:00

485 B

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/