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.
 
 
 
 
 
 

34 lines
836 B

---
- set_fact:
oo_services:
- documentserver-converter
- documentserver-docservice
- documentserver-metrics
- documentserver-spellchecker
tags: oo
- when: oo_db_pass is not defined
block:
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: /etc/onlyoffice/meta/ansible_db_pass
- set_fact: oo_db_pass={{ rand_pass }}
tags: oo
- name: Detect installed version
shell: rpm -q --qf "%{version}-%{release}" onlyoffice-documentserver || echo 0
args:
warn: False
register: oo_current_version
changed_when: False
tags: oo
- block:
- import_tasks: ../includes/webapps_set_install_mode.yml
vars:
- root_dir: /etc/onlyoffice/
- version: "{{ oo_current_version.stdout }}"
- set_fact: oo_install_mode={{ install_mode }}
tags: oo