--- - name: Check if a 2.7 venv exists stat: path={{ pga_root_dir }}/lib/python2.7 register: pga_venv_27 tags: pgadmin4 - import_tasks: ../includes/webapps_set_install_mode.yml vars: - root_dir: "{{ pga_root_dir }}" - version: "{{ pga_version }}" tags: pgadmin4 - set_fact: pga_install_mode={{ install_mode }} tags: pgadmin4 - set_fact: pga_current_version={{ current_version | default('') }} tags: pgadmin4