use list as argument to name instead of with_items

master
Simon Bruder 2018-10-28 09:59:59 +00:00
parent af4e8b9fd1
commit 2cf8d059b7
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
9 changed files with 74 additions and 83 deletions

View File

@ -1,16 +1,15 @@
---
- name: install base packages
apt:
name: "{{ item }}"
name:
- git
- htop
- lm-sensors
- rxvt-unicode
- tmux
- vim-nox
- zsh
state: present
with_items:
- git
- htop
- lm-sensors
- rxvt-unicode
- tmux
- vim-nox
- zsh
- name: set urxvt as default terminal emulator
alternatives:

View File

@ -1,10 +1,9 @@
---
- name: install network manager
apt:
name: "{{ item }}"
name:
- claws-mail
- claws-mail-pgpinline
- claws-mail-pgpmime
- mumble
state: present
with_items:
- claws-mail
- claws-mail-pgpinline
- claws-mail-pgpmime
- mumble

View File

@ -1,11 +1,10 @@
---
- name: install design packages
apt:
name: "{{ item }}"
name:
- darktable
- fonts-roboto
- fonts-texgyre
- gimp
- inkscape
state: present
with_items:
- darktable
- fonts-roboto
- fonts-texgyre
- gimp
- inkscape

View File

@ -1,19 +1,18 @@
---
- name: install media packages
apt:
name: "{{ item }}"
name:
- audacious
- audacity
- calibre
- eom
- feedreader
- jpegoptim
- mkvtoolnix
- mkvtoolnix-gui
- mpv
- pasystray
- pavucontrol
- pulseaudio
- sidplayfp
state: present
with_items:
- audacious
- audacity
- calibre
- eom
- feedreader
- jpegoptim
- mkvtoolnix
- mkvtoolnix-gui
- mpv
- pasystray
- pavucontrol
- pulseaudio
- sidplayfp

View File

@ -1,11 +1,10 @@
---
- name: install network packages
apt:
name: "{{ item }}"
name:
- blueman
- network-manager
- network-manager-gnome
- nmap
- zmap
state: present
with_items:
- blueman
- network-manager
- network-manager-gnome
- nmap
- zmap

View File

@ -1,13 +1,12 @@
---
- name: install office packages
apt:
name: "{{ item }}"
name:
- evince
- gscan2pdf
- libreoffice
- libreoffice-gtk3
- libreoffice-l10n-de
- mupdf
- texlive-full
state: present
with_items:
- evince
- gscan2pdf
- libreoffice
- libreoffice-gtk3
- libreoffice-l10n-de
- mupdf
- texlive-full

View File

@ -1,25 +1,24 @@
---
- name: installing tools
apt:
name: "{{ item }}"
name:
- apt-listbugs
- arandr
- atool
- bmon
- dnsutils
- httpie
- libnotify-bin
- mtr-tiny
- ncdu
- pass
- qalc
- redshift-gtk
- ripgrep
- rsync
- sqlite3
- strace
- thunar
- xbacklight
- xinput
state: present
with_items:
- apt-listbugs
- arandr
- atool
- bmon
- dnsutils
- httpie
- libnotify-bin
- mtr-tiny
- ncdu
- pass
- qalc
- redshift-gtk
- ripgrep
- rsync
- sqlite3
- strace
- thunar
- xbacklight
- xinput

View File

@ -1,8 +1,7 @@
---
- name: install web packages
apt:
name: "{{ item }}"
name:
- aria2
- chromium
state: present
with_items:
- aria2
- chromium

View File

@ -1,9 +1,8 @@
---
- name: install c libraries
apt:
name: [
libx11-dev,
libxrandr-dev,
libxinerama-dev
]
name:
- libx11-dev
- libxrandr-dev
- libxinerama-dev
state: present