Skip to content
Snippets Groups Projects
Commit 1595aefe authored by jurgenhaas's avatar jurgenhaas
Browse files

Change module apt with multiple packages to remove deprecated syntax

parent d8ffb10a
No related branches found
No related tags found
No related merge requests found
......@@ -8,23 +8,24 @@
- block:
- name: 'OpenPhoto | Install packages'
apt: pkg={{item}} state=present update_cache=yes
with_items:
- apache2
- build-essential
- curl
- libapache2-mod-php5
- libpcre3-dev
- php-apc
- php-pear
- php5
- php5-curl
- php5-gd
- php5-mcrypt
- php5-mysql
- php5-dev
- php5-imagick
- exiftran
apt: pkg={{ packages }} state=present update_cache=yes
vars:
packages:
- apache2
- build-essential
- curl
- libapache2-mod-php5
- libpcre3-dev
- php-apc
- php-pear
- php5
- php5-curl
- php5-gd
- php5-mcrypt
- php5-mysql
- php5-dev
- php5-imagick
- exiftran
- name: 'OpenPhoto | Enable some required modules'
apache2_module: "{{ item }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment