1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

rework mcrypt logic

This commit is contained in:
Jerry Vonau 2018-04-28 15:45:08 -05:00
parent c29b4f86ba
commit f9278428a0

View file

@ -56,14 +56,13 @@
- "php{{ php_version }}-mysql"
- "php{{ php_version }}-curl"
- "php{{ php_version }}-intl"
- "php{{ php_version }}-mcrypt"
when: is_debuntu and not is_ubuntu_18
when: is_debuntu
- name: In Ubuntu 18, php dropped mcrypt
- name: In php7.2, php dropped mcrypt
package:
name: mcrypt
name: "php{{ php_version }}-mcrypt"
state: present
when: is_ubuntu_18
when: is_debuntu and not is_ubuntu_18
# we need to install the rpm in order to get the dependencies
# but we only need to do this the first time