From 29c1c4c8afc41303d00cde10950d42129c7c0f33 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 26 Aug 2026 09:37:14 +0100 Subject: fcgiwrap is self-updating --- roles/git/tasks/main.yml | 28 +--------------------------- roles/git/templates/conf.d/fcgiwrap | 3 --- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 roles/git/templates/conf.d/fcgiwrap (limited to 'roles/git') diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index fffca7c..da4bbf2 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -1,8 +1,7 @@ -- name: Install cgit, fcgiwrap, git, and shadow +- name: Install cgit, git, and shadow community.general.apk: name: - cgit - - fcgiwrap - git - shadow @@ -42,31 +41,6 @@ state: link mode: "750" -- name: Configure fcgiwrap daemon - register: fcgiwrap_conf - vars: - fcgiwrap_socket: /run/fcgiwrap.sock - fcgiwrap_user: nginx - fcgiwrap_group: nginx - ansible.builtin.template: - src: conf.d/fcgiwrap - dest: /etc/conf.d/fcgiwrap - mode: "644" - -- name: Restart fcgiwrap daemon and configure to start on boot - when: fcgiwrap_conf is changed - ansible.builtin.service: - name: fcgiwrap - enabled: true - state: restarted - -- name: Start fcgiwrap daemon and configure to start on boot - when: not ( fcgiwrap_conf is changed ) - ansible.builtin.service: - name: fcgiwrap - enabled: true - state: started - - name: Install htpasswd file ansible.builtin.copy: src: htpasswd diff --git a/roles/git/templates/conf.d/fcgiwrap b/roles/git/templates/conf.d/fcgiwrap deleted file mode 100644 index 65a40e8..0000000 --- a/roles/git/templates/conf.d/fcgiwrap +++ /dev/null @@ -1,3 +0,0 @@ -socket=unix:{{ fcgiwrap_socket }} -user={{ fcgiwrap_user }} -group={{ fcgiwrap_group }} -- cgit v1.2.3