diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-17 18:03:39 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-17 18:29:39 +0100 |
commit | 9e16f39b59069e752bbd24f5408e39e8ac24ec79 (patch) | |
tree | 330100ffd054bd274bfe11426aa0ecd7f267d550 /roles/cgit | |
parent | 83cfb7f2e072e63356acdc6640df849d78741813 (diff) | |
download | rules-9e16f39b59069e752bbd24f5408e39e8ac24ec79.tar.gz |
refactor(roles): force byte conversion by ansible
Diffstat (limited to 'roles/cgit')
-rw-r--r-- | roles/cgit/tasks/dependencies.yml | 2 | ||||
-rw-r--r-- | roles/cgit/tasks/main.yml | 6 |
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: |