aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/tasks/dependencies.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/cgit/tasks/dependencies.yml
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/cgit/tasks/dependencies.yml')
-rw-r--r--roles/cgit/tasks/dependencies.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/cgit/tasks/dependencies.yml b/roles/cgit/tasks/dependencies.yml
index c0439e8..9c3623a 100644
--- a/roles/cgit/tasks/dependencies.yml
+++ b/roles/cgit/tasks/dependencies.yml
@@ -1,11 +1,11 @@
- name: retrieve dependencies for lowdown # noqa: no-changed-when
- shell: |
+ 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
- file:
+ ansible.builtin.file:
path: "{{ cgit_chroot_dir }}{{ item | dirname }}"
owner: 0
group: 0
@@ -14,7 +14,7 @@
loop: "{{ result.stdout_lines }}"
- name: copy dependencies for lowdown
- copy:
+ ansible.builtin.copy:
src: "{{ item }}"
dest: "{{ cgit_chroot_dir }}/{{ item }}"
mode: preserve
@@ -22,7 +22,7 @@
loop: "{{ result.stdout_lines }}"
- name: copy utilities in httpd chroot
- copy:
+ ansible.builtin.copy:
src: "{{ item }}"
dest: "{{ cgit_chroot_dir }}/bin"
mode: preserve
remember that computers suck.