aboutsummaryrefslogblamecommitdiffstats
path: root/roles/nextcloud/tasks/dependencies.yml
blob: 923aa45fa6ee79a73dc0c28acbfda87d51df6a96 (plain) (tree)



































                                                                                   
---

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