# cgit ~~ roles/cgit/tasks/main.yml # cgit web interface --- - name: ensure cgit is installed package: name: cgit state: present - name: ensure httpd.d directory exists file: path=/etc/httpd.d state=directory - name: copy httpd configuration copy: src: httpd.conf dest: /etc/httpd.d/stagit.conf owner: "{{ user_root }}" group: "{{ group_root }}" mode: 0644 - name: execute static-page generation script once shell: ./generate-static-git.sh args: chdir: "{{ stagit_htmldir }}"