Ansible Module xml

From NovaOrdis Knowledge Base
Revision as of 01:10, 23 January 2021 by Ovidiu (talk | contribs) (Created page with "=Internal= * Ansible Concepts =Example= <syntaxhighlight lang='yaml'> - name: Bump Java build heap size to {{build.jvm.heap_max}} MB xml: path...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Example

- name: Bump Java build heap size to {{build.jvm.heap_max}} MB
  xml:
    path: "{{ansible_env.PROJECT_ROOT}}/.idea/compiler.xml"
    xpath: /project/component[@name='CompilerConfiguration']/option[@name='BUILD_PROCESS_HEAP_SIZE']
    attribute: "value"
    value: "{{build.jvm.heap_max}}"