ansible/roles/onlyoffice/tasks/RedHat.yml
Salt 14ea44130a Add onlyoffice and basic config
but it's BUGGY TRASH FOR FUCK'S SAKE AUGH
2021-01-20 19:25:16 -06:00

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