--- - name: create zfs dataset for /home when: ws_base_home_zfs is defined zfs: name: "{{ ws_base_home_zfs.pool }}/{{ ws_base_home_zfs.name }}" state: present extra_zfs_properties: "{{ ws_base_home_zfs.properties | default({}) | combine({'mountpoint': '/home'}) }}" - name: prohibited packages loop: - flashplugin-installer template: src: prohibited-package.j2 dest: "/etc/apt/preferences.d/{{ item }}.disabled" - name: base packages apt: name: - pwgen - p7zip-rar - exfat-fuse - exfat-utils - ntfs-3g # - gnupg-curl - pass - evince - geeqie - file-roller - cifs-utils - exfat-fuse - exfat-utils state: present - name: install browser apt: name: - firefox - chromium-browser state: present - name: install multimedia stuff apt: name: - vlc - mpv - ffmpeg - pavumeter - lame - gstreamer1.0-pulseaudio state: present - name: install restricted stuff apt: name: - ubuntu-restricted-extras - chromium-codecs-ffmpeg-extra state: present - name: remove superflous packages apt: name: "{{ ws_base_superflous_packages }}" state: absent autoremove: yes purge: yes - name: remove netplan config for network-manager when: "'network-manager' in ws_base_superflous_packages" file: name: /etc/netplan/01-network-manager-all.yaml state: absent - name: install extra packages apt: name: "{{ ws_base_extra_packages }}" state: present - name: hide ntfs disks when: ws_base_hide_ntfs_disks is defined import_tasks: hide-ntfs-disks.yml - name: configure lightdm import_tasks: lightdm.yml