mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-30 11:15:42 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
31
roles/matomo/tasks/facts.yml
Normal file
31
roles/matomo/tasks/facts.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
|
||||
- import_tasks: ../includes/webapps_set_install_mode.yml
|
||||
vars:
|
||||
- root_dir: "{{ matomo_root_dir }}"
|
||||
- version: "{{ matomo_version }}"
|
||||
tags: matomo
|
||||
- set_fact: matomo_install_mode={{ (install_mode == 'upgrade' and not matomo_manage_upgrade) | ternary('none',install_mode) }}
|
||||
tags: matomo
|
||||
- set_fact: matomo_current_version={{ current_version | default('') }}
|
||||
tags: matomo
|
||||
|
||||
- import_tasks: ../includes/get_rand_pass.yml
|
||||
vars:
|
||||
- pass_file: "{{ matomo_root_dir }}/meta/salt.txt"
|
||||
tags: matomo
|
||||
- set_fact: matomo_salt={{ rand_pass }}
|
||||
tags: matomo
|
||||
|
||||
- import_tasks: ../includes/get_rand_pass.yml
|
||||
vars:
|
||||
- pass_file: "{{matomo_root_dir }}/meta/ansible_dbpass"
|
||||
when: matomo_db_pass is not defined
|
||||
tags: matomo
|
||||
- set_fact: matomo_db_pass={{ rand_pass }}
|
||||
when: matomo_db_pass is not defined
|
||||
tags: matomo
|
||||
|
||||
- name: Combine default and custom LDAP settings
|
||||
set_fact: matomo_ldap_all={{ matomo_ldap_base | combine(matomo_ldap) }}
|
||||
tags: matomo
|
Reference in New Issue
Block a user