Skip to content
Snippets Groups Projects
Select Git revision
  • 7a952a62bc38de2bb27689e84e2796af2c4bdf6e
  • master default
2 results

cgit

  • Clone with SSH
  • Clone with HTTPS
  • Ansible-cgit

    Ansible role for creating a git-readonly web site with cgit (served by Apache).

    Requirements

    Debian Jessie.

    Role Variables

    git_directory: The directory to be created and used for all git repositories served.

    Dependencies

    None.

    Example Playbook

    - hosts: servers
      roles:
        - ansible-cgit

    Example requirements.yml

    - src: https://www.shore.co.il/cgit/ansible-cgit
      scm: git
      path: roles/
      name: cgit

    License

    MIT

    Author Information

    Repository is located at: https://www.shore.co.il/cgit/ansible-cgit

    todo

    • File a bug in Debian for using the wrong location of rst2html.
    • Add pre-commit hooks.
    • Consider adding gitolite.