Fix the apt tasks.

This commit is contained in:
Andrea Dell'Amico 2019-03-26 16:47:30 +01:00
parent c5dd7a0661
commit 34926ad305
1 changed files with 2 additions and 4 deletions

View File

@ -11,13 +11,11 @@
tags: [ 'php', 'php_ppa' ]
- name: Install the php-fpm package
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600
with_items: '{{ php_fpm_packages }}'
apt: pkg={{ php_fpm_packages }} state=present update_cache=yes cache_valid_time=3600
tags: php
- name: Install additional php packages
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600
with_items: '{{ php_additional_packages | default([]) }}'
apt: pkg={{ php_additional_packages | default([]) }} state=present update_cache=yes cache_valid_time=3600
tags: php
- name: Set the timezone if we have one