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?

--
========================================================================
                 In Soviet Russia, Google searches you!
========================================================================

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/rjbahi%24gh2%241%40ciao.gmane.io.

Reply via email to