Only add ppa if it doesn't exist.tags/v0.34.0
@@ -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: |