diff options
Diffstat (limited to 'roles/git')
| -rw-r--r-- | roles/git/tasks/main.yml | 28 | ||||
| -rw-r--r-- | roles/git/templates/conf.d/fcgiwrap | 3 |
2 files changed, 1 insertions, 30 deletions
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 }} |
