aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/tasks
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-17 18:03:39 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-17 18:29:39 +0100
commit9e16f39b59069e752bbd24f5408e39e8ac24ec79 (patch)
tree330100ffd054bd274bfe11426aa0ecd7f267d550 /roles/cgit/tasks
parent83cfb7f2e072e63356acdc6640df849d78741813 (diff)
downloadrules-9e16f39b59069e752bbd24f5408e39e8ac24ec79.tar.gz
refactor(roles): force byte conversion by ansible
Diffstat (limited to 'roles/cgit/tasks')
-rw-r--r--roles/cgit/tasks/dependencies.yml2
-rw-r--r--roles/cgit/tasks/main.yml6
2 files changed, 4 insertions, 4 deletions
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:
remember that computers suck.