mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-03-07 16:00
This commit is contained in:
19
roles/unmaintained/itop/tasks/facts.yml
Normal file
19
roles/unmaintained/itop/tasks/facts.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- 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
|
||||
|
Reference in New Issue
Block a user