From 0c70ea19a91fa28cc5f97364ce1276ad5ae6f898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 22 Jan 2023 19:51:36 +0100 Subject: feat(roles/cgit): add argument specs --- roles/cgit/tasks/dependencies.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 roles/cgit/tasks/dependencies.yml (limited to 'roles/cgit/tasks/dependencies.yml') diff --git a/roles/cgit/tasks/dependencies.yml b/roles/cgit/tasks/dependencies.yml deleted file mode 100644 index a0d4d65..0000000 --- a/roles/cgit/tasks/dependencies.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- - -- name: retrieve dependencies for lowdown # noqa: no-changed-when - ansible.builtin.shell: | - set -o pipefail - ldd /usr/local/bin/lowdown | tr -s " " | grep "0 1 0" | cut -d " " -f 7 - register: result - -- name: create dependencies directories in chroot - ansible.builtin.file: - path: "{{ cgit_chroot_dir }}{{ item | dirname }}" - owner: 0 - group: 0 - mode: "0755" - state: directory - loop: "{{ result.stdout_lines }}" - -- name: copy dependencies for lowdown - ansible.builtin.copy: - src: "{{ item }}" - dest: "{{ cgit_chroot_dir }}/{{ item }}" - mode: preserve - remote_src: true - loop: "{{ result.stdout_lines }}" - -- name: copy utilities in httpd chroot - ansible.builtin.copy: - src: "{{ item }}" - dest: "{{ cgit_chroot_dir }}/bin" - mode: preserve - remote_src: true - loop: - - /bin/sh - - /bin/cat - - /usr/local/bin/lowdown -- cgit v1.2.3