---

- block:
    - import_tasks: ../includes/webapps_set_install_mode.yml
      vars:
        - root_dir: "{{ nd_root_dir }}"
        - version: "{{ nd_version }}"
    - set_fact: nd_install_mode={{ (install_mode == 'upgrade' and not nd_manage_upgrade) | ternary('none',install_mode) }}
    - set_fact: nd_current_version={{ current_version | default('') }}
  tags: navidrome

