aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/tasks/dependencies.yml
blob: 923aa45fa6ee79a73dc0c28acbfda87d51df6a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---

- 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

- 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.