---

- import_tasks: ../includes/webapps_set_install_mode.yml
  vars:
    - root_dir: "{{ element_root_dir }}"
    - version: "{{ element_version }}"
  tags: matrix
- set_fact: element_install_mode={{ (install_mode == 'upgrade' and not element_manage_upgrade) | ternary('none',install_mode) }}
  tags: matrix
- set_fact: element_current_version={{ current_version | default('') }}
  tags: matrix

