summaryrefslogtreecommitdiff
path: root/ansible/oomph.yml
blob: 9f8ebbfe065ba423a0d43003067380570384523d (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: oomph
  remote_user: root
  roles:
    - sane_debian_system
    - comfortable-debian-system
    - unix_users
    - self-updating-system
    - emacs
    - vmhost
  tasks:
    - apt:
        name:
          - ansible
          - subplot
    - user:
        name: liw
        groups: [kvm, libvirt]
    - shell: |
        virsh -c qemu:///system net-start default || true
        virsh -c qemu:///system net-autostart default
  vars:
    hostname: oomph
    debian_codename: buster

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


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

      - repo: |
          deb http://code.liw.fi/debian unstable main
        signing_key: "{{ code_liw_fi_signing_key }}"

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

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