# platform = multi_platform_slmicro
# reboot = false
# strategy = restrict
# complexity = low
# disruption = low
{{{ ansible_instantiate_variables("var_journal_upload_url") }}}

- name: Set URL in /etc/systemd/journal-upload.conf
  ansible.builtin.lineinfile:
      dest: /etc/systemd/journal-upload.conf
      regexp: "^#?URL="
      line: URL={{ var_journal_upload_url }}
      create: yes
