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