Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eerlingguy#1964: Purge php-common package when installing different PHP version.
  • Loading branch information
geerlingguy authored and Damon Haley committed Sep 4, 2019
1 parent 050fbe2 commit 0e47620
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 0e47620

Please sign in to comment.