Merge pull request #72 from zls/master

Only add ppa if it doesn't exist.
This commit is contained in:
Forrest 2015-12-23 11:43:18 -08:00
commit 85701355bd

View File

@ -31,6 +31,7 @@ php_ppa_env_{{ state }}:
- name: apt-add-repository -y ppa:{{ ppa_name }}
- env:
- LC_ALL: C.UTF-8
- unless: test /etc/apt/sources.list.d/{{ ppa_name|replace('/', '-', 1) }}-trusty.list
php_ppa_{{ state }}:
pkgrepo.managed: