summaryrefslogtreecommitdiff
path: root/roles/ubuntu-ws
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-12-09 13:32:22 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-12-09 13:32:22 +0100
commiteea8a11fbfe39af00eac885a260fc54edd7b7ec7 (patch)
tree49503b3c477b5d84fa62e99c31ce95da4eeb2483 /roles/ubuntu-ws
parentMerge branch 'new-repo-structure' (diff)
apt without with_items
Diffstat (limited to 'roles/ubuntu-ws')
-rw-r--r--roles/ubuntu-ws/tasks/main.yml64
1 files changed, 30 insertions, 34 deletions
diff --git a/roles/ubuntu-ws/tasks/main.yml b/roles/ubuntu-ws/tasks/main.yml
index 7dd682c1..04300dbd 100644
--- a/roles/ubuntu-ws/tasks/main.yml
+++ b/roles/ubuntu-ws/tasks/main.yml
@@ -15,21 +15,20 @@
- name: base packages
apt:
- name: "{{ item }}"
+ name:
+ - file
+ - pwgen
+ - p7zip-rar
+ - exfat-fuse
+ - exfat-utils
+ - ntfs-3g
+ - gnupg-curl
+ - pass
+ - evince
+ - geeqie
+ - file-roller
+ - cifs-utils
state: present
- with_items:
- - file
- - pwgen
- - p7zip-rar
- - exfat-fuse
- - exfat-utils
- - ntfs-3g
- - gnupg-curl
- - pass
- - evince
- - geeqie
- - file-roller
- - cifs-utils
- name: install browser
apt:
@@ -41,37 +40,34 @@
- name: install multimedia stuff
apt:
- name: "{{ item }}"
+ name:
+ - vlc
+ - mpv
+ - ffmpeg
+ - pavumeter
+ - lame
+ - gstreamer1.0-pulseaudio
state: present
- with_items:
- - vlc
- - mpv
- - ffmpeg
- - pavumeter
- - lame
- - gstreamer1.0-pulseaudio
- name: install restricted stuff
apt:
- name: "{{ item }}"
+ name:
+ - ubuntu-restricted-extras
+ - intel-microcode
state: present
- with_items:
- - ubuntu-restricted-extras
- - intel-microcode
- name: remove superflous packages
apt:
- name: "{{ item }}"
+ name:
+ - gnome-software
+ - gnome-software-common
+ - software-properties-gtk
+ - software-properties-common
+ - python3-software-properties
+ - flashplugin-installer
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: