summaryrefslogtreecommitdiff
path: root/ansible/subplot-stress.yml
blob: f97e79080992484f821b20a969a3efb118bd8557 (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
- hosts: subplot-stress
  remote_user: root
  tasks:

  - name: "install gnupg"
    apt:
      name: gpg

  - name: "add Subplot APT key"
    apt_key:
      data: "{{ ci_prod_signing_key }}"

  - name: "add Subplot repository"
    apt_repository:
      repo: "deb http://ci-prod-controller.vm.liw.fi/debian unstable-ci main"
      
  - name: "install packages"
    apt:
      name:
        - screen
        - subplot
        - locales-all
        - git
        - python3
        - cargo
        - texlive-latex-base
        - texlive-latex-recommended
        - texlive-fonts-recommended
        - build-essential
        - bc

  - name: "create user liw"
    user:
      name: liw
      comment: "Lars Wirzenius"
      shell: /bin/bash

  - name: "install authorized_keys for liw"
    authorized_key:
      user: liw
      key: "{{ liw_ssh_pub }}"