aboutsummaryrefslogblamecommitdiffstats
path: root/roles/nextcloud/tasks/dependencies.yml
blob: dd354fb55d069adca96fc7b03bffe1b2facfd222 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                             
        





















                                                                                   
---

- name: copy dependencies binaries to chroot
  ansible.builtin.include_role:
    name: copy_bin
  vars:
    copy_bin__root_dir: "{{ httpd_pre__chroot_dir }}"
    copy_bin__name: "{{ nextcloud__loop_dependencies_item }}"
  loop_control:
    loop_var: nextcloud__loop_dependencies_item
  loop:
    - ffmpeg
    - ffprobe
    - perl
    - sh

- name: copy dependencies for exiftool
  ansible.builtin.copy:
    src: /usr/local/bin/exiftool
    dest: "{{ httpd_pre__chroot_dir }}/bin/exiftool"
    mode: preserve
    remote_src: true

- name: create perl dependencies directory
  ansible.builtin.file:
    path: "{{ httpd_pre__chroot_dir }}/{{ nextcloud__perl_libdata_dir | dirname }}"
    owner: 0
    group: 0
    mode: "0755"
    state: directory

- name: copy perl dependencies
  ansible.builtin.copy:
    src: "{{ nextcloud__perl_libdata_dir }}"
    dest: "{{ httpd_pre__chroot_dir }}/{{ nextcloud__perl_libdata_dir | dirname }}"
    mode: preserve
    remote_src: true
remember that computers suck.