BSA_AIS/AIS/templates/inventory.j2

12 lines
240 B
Django/Jinja

[lokal]
localhost ansible_connection=local
[ais]
{% for container in lvm_container_info.results %}
{{ container.item }} ansible_host={{ container.lxc_container.ips[0] }}
{% endfor %}
[ais:vars]
ansible_user=ubuntu
ansible_password=ubuntu