use list as argument to name instead of with_items
This commit is contained in:
parent
af4e8b9fd1
commit
2cf8d059b7
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: install base packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- git
|
||||
- htop
|
||||
- lm-sensors
|
||||
|
@ -11,6 +9,7 @@
|
|||
- tmux
|
||||
- vim-nox
|
||||
- zsh
|
||||
state: present
|
||||
|
||||
- name: set urxvt as default terminal emulator
|
||||
alternatives:
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
- name: install network manager
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- claws-mail
|
||||
- claws-mail-pgpinline
|
||||
- claws-mail-pgpmime
|
||||
- mumble
|
||||
state: present
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
- name: install design packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- darktable
|
||||
- fonts-roboto
|
||||
- fonts-texgyre
|
||||
- gimp
|
||||
- inkscape
|
||||
state: present
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: install media packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- audacious
|
||||
- audacity
|
||||
- calibre
|
||||
|
@ -17,3 +15,4 @@
|
|||
- pavucontrol
|
||||
- pulseaudio
|
||||
- sidplayfp
|
||||
state: present
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
- name: install network packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- blueman
|
||||
- network-manager
|
||||
- network-manager-gnome
|
||||
- nmap
|
||||
- zmap
|
||||
state: present
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: install office packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- evince
|
||||
- gscan2pdf
|
||||
- libreoffice
|
||||
|
@ -11,3 +9,4 @@
|
|||
- libreoffice-l10n-de
|
||||
- mupdf
|
||||
- texlive-full
|
||||
state: present
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
- name: installing tools
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- apt-listbugs
|
||||
- arandr
|
||||
- atool
|
||||
|
@ -23,3 +21,4 @@
|
|||
- thunar
|
||||
- xbacklight
|
||||
- xinput
|
||||
state: present
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
---
|
||||
- name: install web packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
name:
|
||||
- aria2
|
||||
- chromium
|
||||
state: present
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue