summaryrefslogtreecommitdiff
path: root/ansible/git.liw.fi.yml
blob: a71d8ed708fdff938d769f7b98e93a1331ec2b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
- hosts: git.liw.fi
  remote_user: root
  roles:
# sane_debian_system doesn't work on buster, because it needs systemd
#    - role: sane_debian_system
#      tags: [sane]
    - role: comfortable-debian-system
    - role: unix_users
    - role: apache_server
      tags: [apache]
    - role: gitano_server
      tags: [gitano]
    - role: self-updating-system
  vars:
    sane_debian_system_version: 2
    sane_debian_system_hostname: git
    sane_debian_system_codename: buster
    sane_debian_system_mirror: deb.debian.org

    unix_users_version: 2
    unix_users:
      - username: liw
        comment: Lars Wirzenius

    gitano_bypass_pub: "{{ lookup('file', '/home/liw/.ssh/gitano-bypass-key.pub') }}"
    gitano_admin_pub: "{{ lookup('file', '/home/liw/.ssh/gitano-admin-key.pub') }}"
    gitano_site_name: git.liw.fi
    cgit_hosts:
      - git.liw.fi

    letsencrypt: no
    letsencrypt_email: liw@liw.fi
    letsencrypt_main_domain: git.liw.fi
    certbot_debian_release: buster