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

Remove with_items from apt

parent 3fb7ccd9
No related branches found
No related tags found
No related merge requests found
......@@ -2,10 +2,11 @@
# file: roles/mysql/tasks/main.yml
- name: ensure mysql packages are installed for jessie
apt: name={{ item }} state=latest
with_items:
apt:
name:
- mysql-server
- python-mysqldb
state: present
when:
- debian_version == "jessie"
tags:
......@@ -13,10 +14,11 @@
- mysql
- name: ensure mysql packages are installed for stretch
apt: name={{ item }} state=latest
with_items:
apt:
name:
- mariadb-server
- python-mysqldb
state: present
when:
- debian_version == "stretch"
tags:
......
......@@ -2,13 +2,12 @@
- name: ensure postgres packages are installed
apt:
name: "{{ item }}"
state: present
with_items:
name:
- postgresql
- python-psycopg2
- python3-psycopg2
- libpq-dev
state: present
tags:
- postgres
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment