Fix Molecule CI issues.

This commit is contained in:
Jeff Geerling 2018-09-30 13:47:58 -05:00
parent 7c0b3771d9
commit 71ef2fa090

View File

@ -43,12 +43,13 @@
# PHP package purges.
- name: Purge PHP version packages.
apt:
name:
- php5.6-common
- php7.0-common
- php7.1-common
- php7.2-common
name: "{{ item }}"
state: absent
purge: true
force: true
with_items:
- php5.6-common
- php7.0-common
- php7.1-common
- php7.2-common
when: "'php' + php_version not in item"