all: children: lxcs: hosts: %{ for host in hosts ~} ${host.hostname}: ansible_host: ${host.ipv4_host} ansible_user: ${host.user} ansible_password: ${host.password} ansible_port: ${host.port} ansible_ssh_common_args: '-o StrictHostKeyChecking=no' ansible_python_interpreter: auto_silent %{ endfor ~}