summaryrefslogtreecommitdiff
path: root/ansible/oomph.yml
blob: 4903d64e3470e547f55535db49d500a66208d115 (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
- hosts: oomph
  remote_user: root
  roles:
    - sane_debian_system
    - comfortable-debian-system
    - unix_users
    - self-updating-system
    - emacs
    - vmhost
  tasks:
    - apt:
        name:
          - ansible
    - user:
        name: liw
        groups: [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 }}