Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
459 B

---
# Detect if already installed, and if an upgrade is needed
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ graylog_root_dir }}"
- version: "{{ graylog_version }}"
tags: graylog
- set_fact: graylog_install_mode={{ (install_mode == 'upgrade' and not graylog_manage_upgrade) | ternary('none',install_mode) }}
tags: graylog
- set_fact: graylog_current_version={{ current_version | default('') }}
tags: graylog