Skip to content
Snippets Groups Projects
Commit 57160872 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Remove with_items from apt

parent d4a29b7b
No related branches found
No related tags found
No related merge requests found
......@@ -3,23 +3,20 @@
- name: ensure installation of basic shell commands
apt:
name: "{{ item }}"
state: present
install_recommends: no
with_items:
name:
- git
- vim
- vim-scripts
- zsh
state: present
install_recommends: no
tags:
- packages
- shell
- name: ensure installaton of some additional software
apt:
name: "{{ item }}"
state: present
with_items:
name:
- aptitude
- atop
- build-essential
......@@ -46,15 +43,15 @@
- whois
- less
- man
state: present
tags:
- packages
- shell
- name: ensure installation of variable additional software
apt:
name: "{{ item }}"
name: "{{shell_software}}"
state: present
with_items: "{{ shell_software }}"
tags:
- packages
- shell
......
......@@ -2,7 +2,7 @@
# file: roles/common/tasks/sudo.yml
- name: ensure sudo is installed
apt: state=latest name=sudo
apt: state=present name=sudo
tags:
- sudo
- packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment