diff --git a/lib/ansible/modules/cloud/misc/virt_net.py b/lib/ansible/modules/cloud/misc/virt_net.py index 62d80241941..fa87d7537e9 100644 --- a/lib/ansible/modules/cloud/misc/virt_net.py +++ b/lib/ansible/modules/cloud/misc/virt_net.py @@ -133,6 +133,7 @@ EXAMPLES = ''' # Add a new host in the dhcp pool - virt_net: name: br_nat + command: modify xml: "" ''' @@ -273,8 +274,8 @@ class LibvirtConnection(object): res = 0 if res == 0: return True - # command, section, parentIndex, xml, flags=0 - self.module.fail_json(msg='updating this is not supported yet %s' % to_native(xml)) + # command, section, parentIndex, xml, flags=0 + self.module.fail_json(msg='updating this is not supported yet %s' % to_native(xml)) def destroy(self, entryid): if not self.module.check_mode: