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.
20 lines
612 B
20 lines
612 B
4 years ago
|
---
|
||
|
|
||
|
- block:
|
||
|
- import_tasks: ../includes/webapps_set_install_mode.yml
|
||
|
vars:
|
||
|
- root_dir: "{{ itop_root_dir }}"
|
||
|
- version: "{{ itop_version }}"
|
||
|
- set_fact: itop_install_mode={{ (install_mode == 'upgrade' and not itop_manage_upgrade) | ternary('none',install_mode) }}
|
||
|
- set_fact: itop_current_version={{ current_version | default('') }}
|
||
|
tags: itop
|
||
|
|
||
|
- when: itop_db_pass is not defined
|
||
|
block:
|
||
|
- import_tasks: ../includes/get_rand_pass.yml
|
||
|
vars:
|
||
|
- pass_file: "{{ itop_root_dir }}/meta/ansible_dbpass"
|
||
|
- set_fact: itop_db_pass={{ rand_pass }}
|
||
|
tags: itop
|
||
|
|