summaryrefslogtreecommitdiff
path: root/ansible/exolobe1.yml
blob: a424fe34ba11a84f9f538247e762c5dff653e7ef (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
- hosts: exolobe1
  remote_user: root
  become: no
  roles:
    - sane_debian_system
    - sshd
    - unix_users
    - version-controller
    - gnome-system
    - intel-wifi
    - rust-rustup
    - liw

  tasks:
    - apt:
        name:
          - build-essential
          - flatpak
          - gnome-software-plugin-flatpak
          - pavucontrol
          - psmisc
          - python3
          - usbutils
          - uuid

          # - bash-completion
          # - black
          # - build-essential
          # - cachedir
          # - capnproto
          # - clang
          # - daemonize
          # - debhelper
          # - dh-cargo
          # - expect
          # - extrautils
          # - fio
          # - firmware-misc-nonfree
          # - fling
          # - gimp
          # - graphviz
          # - inkscape
          # - iputils-ping
          # - isync
          # - jq
          # - jt
          # - libclang-dev
          - librsvg2-bin
          # - libsqlite3-dev
          # - libssl-dev
          # - libvirt-dev
          # - linux-perf
          # - liw-automation
          # - llvm
          # - lmodern
          # - nettle-dev
          # - nfs-common
          # - obnam
          # - obnam-benchmark
          # - openpgp-ca
          - pandoc
          - pandoc-citeproc
          - pandoc-filter-diagram
          # - pavucontrol
          # - pkg-config
          # - plantuml
          # - printer-driver-ptouch
          # - python3
          # - python3-requests
          # - qemu-user-static
          # - sequoia-chameleon-gnupg
          # - shellcheck
          # - sq-liw
          # - sqlite3
          # - sshca
          # - subplot
          # - summain
          - texlive-fonts-recommended
          - texlive-latex-base
          - texlive-latex-extra
          - texlive-latex-recommended
          - texlive-plain-generic
          # - usbutils
          # - uuid
          # - validns
          # - vlc
          # - vobcopy
          # - vmdb2
          # - xpdf
          # - zerofree

    - shell: |
        flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

  vars:
    ansible_python_interpreter: /usr/bin/python3

    sane_debian_system_version: 2
    sane_debian_system_hostname: "{{ inventory_hostname }}"
    sane_debian_system_codename: bullseye
    sane_debian_system_timezone: Europe/Helsinki
    sane_debian_system_sources_lists:
      - repo: deb http://deb.debian.org/debian stable contrib non-free
      - repo: deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main
        signing_key: "{{ ci_prod_signing_key }}"

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

    sshd_version: 1
    sshd_host_key: "{{ lookup('pipe', 'sshca host private-key exolobe1') }}"
    sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v5 exolobe1') }}"
    sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v5') }}"