Commit 0df6fe52 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Remove with_items from apt

parent a669d025
......@@ -3,11 +3,10 @@
- name: ensure we have the necessary packages
apt:
name: "{{ item }}"
name:
- dnsmasq
- dnsmasq-utils
state: present
with_items:
- dnsmasq
- dnsmasq-utils
tags:
- dhcp-server
......
......@@ -2,9 +2,7 @@
# file: shared-roles/network/mrtg
- name: ensure mrtg is installed
apt: name="{{item}}" state=present
with_items:
- mrtg
apt: name=mrtg state=present
tags: mrtg
- name: ensure there is a group
......
......@@ -2,19 +2,21 @@
# file: shared-roles/network/mrtg/tasks/weathermap.yml
- name: ensure we can get nice graph layouts
apt: name="{{item}}" state=present
with_items:
- python-pygraphviz
- python-numpy
apt:
name:
- python-pygraphviz
- python-numpy
state: present
tags: weathermap
- name: enable unpacking zip files and executing rotten php stuff
apt: name="{{item}}" state=present
with_items:
- unzip
- php-cli
- php-pear
- php-gd
apt:
name:
- unzip
- php-cli
- php-pear
- php-gd
state: present
tags: weathermap
- name: install rotten php requirements
......
......@@ -14,11 +14,10 @@
block:
- name: ensure the network packages are installed
apt:
name: "{{ item }}"
name:
- vlan
- bridge-utils
state: present
with_items:
- vlan
- bridge-utils
- name: ensure bond module is loaded
modprobe:
name: 8021q
......
......@@ -2,16 +2,15 @@
- name: ensure freeradius server is installed
apt:
name: "{{ item }}"
name:
- freeradius
- freeradius-config
- freeradius-ldap
- freeradius-mysql
- freeradius-postgresql
- freeradius-utils
- winbind
state: present
with_items:
- freeradius
- freeradius-config
- freeradius-ldap
- freeradius-mysql
- freeradius-postgresql
- freeradius-utils
- winbind
tags:
- radius-server
- packages
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment