summaryrefslogtreecommitdiff
path: root/ansible/debmirror.yml
blob: dd870602ad8b0aaa6715337c08ca92abbecf4ef2 (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
- hosts: debmirror
  remote_user: root
  roles:
    - role: sane_debian_system
    - role: comfortable-debian-system
    - role: unix_users
    - role: apache_server
      tags: [apache]
    - role: self-updating-system
    - role: debian-mirror
  vars:
    hostname: debmirror
    debian_codename: buster
    debian_mirror: deb.debian.org
    debian_mirror_src: deb.debian.org

    unix_users:
      - username: liw
        comment: Lars Wirzenius
        authorized_keys: |
          {{ liw_ssh_pub }}
      - username: debmirror
        comment: Debian Mirror
        authorized_keys: |
          {{ liw_ssh_pub }}

    static_sites:

      - domain: debmirror
        owner: debmirror
        ownermail: liw@liw.fi
        letsencrypt: no