Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Fixes #1963, #1903, #1962 (maybe), #1964: Purge php-common package wh…
Browse files Browse the repository at this point in the history
…en installing different PHP version.
  • Loading branch information
geerlingguy committed Aug 29, 2019
1 parent 8881228 commit 882959e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion provisioning/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
- src: geerlingguy.php-tideways
version: 2.2.0
- src: geerlingguy.php-versions
version: 3.1.0
version: 3.1.1
- src: geerlingguy.php-xdebug
version: 2.5.1
- src: geerlingguy.php-xhprof
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,12 @@
state: absent
purge: true
force: true
register: php_version_purge

- name: Also purge php-common package if any versions were just purged.
apt:
name: php-common
state: absent
purge: true
force: true
when: php_version_purge.changed | bool

0 comments on commit 882959e

Please sign in to comment.