mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-22 10:25:40 +01:00
Merge pull request #8 from oxyc/beetbox
Simplify purge task fixing odd apt resolve solutions
This commit is contained in:
commit
b2de0f333d
@ -45,7 +45,7 @@
|
||||
purge: yes
|
||||
force: yes
|
||||
when: "'php' + php_version not in item"
|
||||
with_flattened:
|
||||
- "{{ php_packages|regex_replace('php' + php_version, 'php5.6') }}"
|
||||
- "{{ php_packages|regex_replace('php' + php_version, 'php7.0') }}"
|
||||
- "{{ php_packages|regex_replace('php' + php_version, 'php7.1') }}"
|
||||
with_items:
|
||||
- php5.6-common
|
||||
- php7.0-common
|
||||
- php7.1-common
|
||||
|
Loading…
Reference in New Issue
Block a user