What is the parameter 'fragment' on win_xml module?

127 Views Asked by At

I have very limited knowledge on XML and not sure what does fragment parameter is used for.

- name: Apply sslEnabledProtocols to Tomcat's server.xml
  community.windows.win_xml:
    path: C:\Tomcat\conf\server.xml
    xpath: '//Server/Service[@name="Catalina"]/Connector[@port="9443"]'
    attribute: 'sslEnabledProtocols'
    fragment: 'TLSv1,TLSv1.1,TLSv1.2'
    type: attribute
0

There are 0 best solutions below