--- - name: Detect installed version block: - import_tasks: ../includes/webapps_set_install_mode.yml vars: - root_dir: "{{ nomad_root_dir }}" - version: "{{ nomad_version }}" - set_fact: nomad_install_mode={{ install_mode | default('none') }} - set_fact: nomad_current_version={{ current_version | default('') }} tags: nomad