From 9e16f39b59069e752bbd24f5408e39e8ac24ec79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 17 Dec 2022 18:03:39 +0100 Subject: refactor(roles): force byte conversion by ansible --- roles/cgit/tasks/dependencies.yml | 2 +- roles/cgit/tasks/main.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/cgit/tasks') diff --git a/roles/cgit/tasks/dependencies.yml b/roles/cgit/tasks/dependencies.yml index 5a74d45..a0d4d65 100644 --- a/roles/cgit/tasks/dependencies.yml +++ b/roles/cgit/tasks/dependencies.yml @@ -11,7 +11,7 @@ path: "{{ cgit_chroot_dir }}{{ item | dirname }}" owner: 0 group: 0 - mode: 0755 + mode: "0755" state: directory loop: "{{ result.stdout_lines }}" diff --git a/roles/cgit/tasks/main.yml b/roles/cgit/tasks/main.yml index 34e394c..272b199 100644 --- a/roles/cgit/tasks/main.yml +++ b/roles/cgit/tasks/main.yml @@ -12,7 +12,7 @@ path: "{{ cgit_chroot_dir }}/cache/cgit" owner: www group: www - mode: 0750 + mode: "0750" state: directory - name: generate cgit configuration files @@ -21,7 +21,7 @@ dest: "{{ item.file }}" owner: 0 group: 0 - mode: 0644 + mode: "0644" loop: - ansible.builtin.template: cgitrc.j2 file: "{{ cgit_chroot_dir }}/conf/cgitrc" @@ -39,7 +39,7 @@ dest: "{{ cgit_chroot_dir }}/bin/about-filter.sh" owner: 0 group: 0 - mode: 0755 + mode: "0755" - name: start and enable slowcgi service ansible.builtin.service: -- cgit v1.2.3