Using XML module to insert new line

Hi folks

I some help , I have xml as following structure

login.url /login.action?os_destination=${originalurl}&permissionViolation=true link.login.url /login.action cookie.encoding cNf login.cookie.key seraph.confluence login.submit.url /dologin.action authentication.type os_authType invalidate.session.on.login true invalidate.session.exclude.list

I need to insert the following lines inside

logout.url http://google.com

I tried the following but

  • name: Test 1
    community.general.xml:
    path: config.xml
    xpath: /security-config/parameters/init-param
    add_children:
  • init-param:
    param-name: logout.url
    param-value: http://google.com

the lines add in bottom of file like :

invalidate.session.exclude.list