This is probably a stupid/n00b question, but I'm at my wit's end trying
to figure this out.
I'm trying to use the virt_net module to create a libvirt network. The
task looks like this (apologies for the long line).
- name: create external network
virt_net:
command: define
name: external
xml: "<network><name='external'/><bridge name='br-ext' stp='off'/><forward mode='nat'/><ip address='192.168.122.254' prefix='24'/></network>"
This is giving me this error:
"msg": "(network_definition):1: error parsing attribute name\n<network><name='external'/><bridge name='br-ext' stp='off'/><forward mode='nat'/><ip address='192.168.122.254' prefix='24'/></network>\n--------------^"
Cany anyone point me to a hint as to what's going on?