29 lines
837 B
YAML
29 lines
837 B
YAML
---
|
|
- name: Add onlyoffice repo
|
|
yum:
|
|
name: "{{ onlyoffice_repo }}"
|
|
become: yes
|
|
|
|
- name: Install epel repo
|
|
yum:
|
|
name: epel-release
|
|
become: yes
|
|
|
|
- name: Install dependency
|
|
yum:
|
|
name: "{{ item.name }}"
|
|
with_items:
|
|
- { name: "{{ msttcore_fonts }}", state: present }
|
|
- { name: "{{ nginx_repo }}", state: present }
|
|
become: yes
|
|
|
|
- name: Install documentserver
|
|
yum:
|
|
name: "{{ package_name }}"
|
|
update_cache: yes
|
|
state: latest
|
|
become: yes
|
|
|
|
- name: Initialize onlyoffice-documentserver
|
|
shell: echo -e "{{ db_server_host }}\n{{ db_server_name }}\n{{ db_server_user }}\n{{ db_server_pass }}\n{{ redis_server_host }}\n{{ rabbitmq_server_host }}\n{{ rabbitmq_server_user }}\n{{ rabbitmq_server_pass }}" | bash documentserver-configure.sh
|
|
become: yes |