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.
 
 
 
 
 
 

28 lines
889 B

---
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: "{{ dolibarr_root_dir }}"
- version: "{{ dolibarr_version }}"
tags: dolibarr
- set_fact: dolibarr_install_mode={{ (install_mode == 'upgrade' and not dolibarr_manage_upgrade) | ternary('none',install_mode) }}
tags: dolibarr
- set_fact: dolibarr_current_version={{ current_version | default('') }}
tags: dolibarr
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "{{ dolibarr_root_dir }}/meta/ansible_cookie_key"
tags: dolibarr
- set_fact: dolibarr_cookie_key={{ rand_pass }}
tags: dolibarr
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "{{ dolibarr_root_dir }}/meta/ansible_dbpass"
when: dolibarr_db_pass is not defined
tags: dolibarr
- set_fact: dolibarr_db_pass={{ rand_pass }}
when: dolibarr_db_pass is not defined
tags: dolibarr