summaryrefslogtreecommitdiff
path: root/ansible/exolobe5.yml
blob: a4c8b152dac81ef5880fdc3928c159e6002272be (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
35
36
37
38
39
40
41
42
43
44
45
- hosts: exolobe5
  remote_user: liw
  become: yes
  roles:
    - sane_debian_system
    - comfortable-debian-system
    - unix_users
    - self-updating-system
    - emacs
    - vmhost
    - smarthost-client
  tasks:
    - apt:
        name:
          - jq
  vars:
    sane_debian_system_version: 2
    unix_users_version: 2

    sane_debian_system_hostname: exolobe5
    sane_debian_system_codename: buster

    unix_users:
      - username: liw
        comment: Lars Wirzenius
        sudo: yes
        authorized_keys: |
          {{ liw_ssh_pub }}
          {{ liw_main_ssh_pub }}

    mailname: "{{ sane_debian_system_hostname }}.liw.fi"
    relayhost: pieni.net:587
    smarthost: pieni.net
    smarthost_user: pienirelay
    smarthost_password: "{{ lookup('pipe', 'pass show pieni.net/pienirelay') }}"

    sane_debian_system_sources_lists:
      - repo: |
          deb http://security.debian.org/debian-security buster/updates main contrib non-free

      - repo: |
          deb http://deb.debian.org/debian buster contrib non-free

      - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
        signing_key: "{{ ci_prod_signing_key }}"