Problem inserting element at top of xml file

I am trying to learn how to insert a new element after the <jboss-cli…> element.

Contents of the xml file

<?xml version='1.0' encoding='UTF-8'?> remote+http remote+http xx.xx.xx.xx 9990

This is my task:

  • name: Insert element after jboss-cli element
    community.general.xml:
    add_children:
  • “Inserted”
    input_type: xml
    namespaces:
    x: urn:jboss:cli:3.4
    path: /opt/wildfly/wf29/bin/jboss-cli.xml
    pretty_print: true
    xpath: “/x:jboss-cli”

When I execute the role containing this task, I get

FAILED! => {“changed”: false, “msg”: “Syntax error in xpath expression: /x:jboss-cli/ (Invalid expression)”

How do I insert this new element immediately following the ?
I’ve tried xpath:“x:”
I’ve tried xpath: “/”
I’ve tried xpath: “/x:”

Thanks