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.

32 lines
974 B

---
- 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