summaryrefslogtreecommitdiff
path: root/roles/ubuntu-ws/tasks/main.yaml
blob: 20a66b5b5646635a27c4ea8664bb86b894ae51d7 (plain) (blame)
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
---
- name: resize root filesystem
  lvol:
    vg: "{{ inventory_hostname }}"
    lv: root
    size: "{{ ubuntu_ws_root_fs_size }}"

- name: create filesystem
  filesystem:
    fstype: ext4
    dev: "/dev/mapper/{{ inventory_hostname | replace('-', '--') }}-root"
    resizefs: yes

# - name: prohibited packages
#   template:
#     src: prohibited-package.j2
#     dest: "/etc/apt/preferences.d/{{ item }}.disabled"
#   with_items:
#   - flashplugin-installer

# - name: base packages
#   apt:
#     name: "{{ item }}"
#     state: present
#   with_items:
#   - xubuntu-desktop
#   - file
#   - pwgen
#   - p7zip-rar
#   - exfat-fuse
#   - exfat-utils
#   - ntfs-3g
#   - gnupg-curl
#   - pass

# - name: install browser
#   apt:
#     name: "{{ item }}"
#     state: present
#   with_items:
#   - firefox
#   - chromium-browser

# - name: install multimedia stuff
#   apt:
#     name: "{{ item }}"
#     state: present
#   with_items:
#   - vlc
#   - mpv
#   - ffmpeg
#   - pavumeter
#   - lame

# - name: install restricted stuff
#   apt:
#     name: "{{ item }}"
#     state: present
#   with_items:
#   - ubuntu-restricted-extras
#   - intel-microcode

# - name: remove superflous packages
#   apt:
#     name: "{{ item }}"
#     state: absent
#     autoremove: yes
#     purge: yes
#   with_items:
#   - gnome-software
#   - gnome-software-common
#   - software-properties-gtk
#   - software-properties-common
#   - python3-software-properties
#   - flashplugin-installer

# - name: install extra packages
#   apt:
#     name: "{{ item }}"
#     state: present
#   with_items: "{{ ubuntu_ws_extra_packages|default([]) }}"