main.yml 1.06 KB
Newer Older
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
---

- name: Install dependencies for Tor Browser build
  apt:
      name: "{{ item }}"
      state: present
  with_items:
      - git
      - sudo
      - libyaml-libyaml-perl
      - libtemplate-perl
      - libio-handle-util-perl
      - libio-all-perl
      - libio-captureoutput-perl
      - libfile-slurp-perl
      - libstring-shellquote-perl
      - libsort-versions-perl
      - libdigest-sha-perl
      - libdata-uuid-perl
      - libdata-dump-perl
      - libfile-copy-recursive-perl
      - libgtk2.0-dev
      - curl
      - runc

26
27
28
29
30
31
32
33
34
35
36
- name: Install dependencies for update_responses script
  apt:
      name: "{{ item }}"
      state: present
  with_items:
      - libfindbin-libs-perl
      - libxml-writer-perl
      - libparallel-forkmanager-perl
      - libxml-libxml-perl
      - libwww-perl
      - libjson-perl
37
      - libyaml-perl
38

39
40
41
42
43
44
45
- name: Create the tbb-build group
  group:
      name: tbb-build
      state: present

- name: Give sudo access to tbb-build group members
  copy: src=sudoers-tbb-build dest=/etc/sudoers.d/tbb-build owner=root group=root mode=0440