summaryrefslogtreecommitdiff
path: root/ansible/scap-dev.yml
blob: 34754c857fd8c38d5962b76da21ef371179c77df (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
- hosts: scap-dev
  remote_user: root
  tasks:

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

  - 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
        - build-essential
        - locales-all
        - git
        - python
        - python3
        - python-all-dev
        - python3-all-dev
        - python-tox
        - php5
        - debhelper
        - bash-completion
        - python-setuptools
        - git-buildpackage
        - rsync
#        - subplot
        - python-six
        - python-yaml
        - python-pygments
        - python-concurrent.futures
        - python-requests
        - python-jinja2
        - pandoc
        - python-configparser
        - python-psutil
        - python-flake8

  - 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 }}"