mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
rework mcrypt logic
This commit is contained in:
parent
c29b4f86ba
commit
f9278428a0
1 changed files with 4 additions and 5 deletions
|
@ -56,14 +56,13 @@
|
||||||
- "php{{ php_version }}-mysql"
|
- "php{{ php_version }}-mysql"
|
||||||
- "php{{ php_version }}-curl"
|
- "php{{ php_version }}-curl"
|
||||||
- "php{{ php_version }}-intl"
|
- "php{{ php_version }}-intl"
|
||||||
- "php{{ php_version }}-mcrypt"
|
when: is_debuntu
|
||||||
when: is_debuntu and not is_ubuntu_18
|
|
||||||
|
|
||||||
- name: In Ubuntu 18, php dropped mcrypt
|
- name: In php7.2, php dropped mcrypt
|
||||||
package:
|
package:
|
||||||
name: mcrypt
|
name: "php{{ php_version }}-mcrypt"
|
||||||
state: present
|
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
|
# we need to install the rpm in order to get the dependencies
|
||||||
# but we only need to do this the first time
|
# but we only need to do this the first time
|
||||||
|
|
Loading…
Reference in a new issue