diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 205d360d8..c14eca54c 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -59,11 +59,11 @@ state: present when: is_debuntu -- name: 'Install php{{ php_version }}-mcrypt (debuntu but not ubuntu-18) NOTE: php7.2 dropped mcrypt' +- name: 'Install php{{ php_version }}-mcrypt (debuntu prior to 2018) NOTE: php7.2 dropped mcrypt' package: name: "php{{ php_version }}-mcrypt" state: present - when: is_debuntu and not is_ubuntu_18 + when: is_debuntu and (is_raspbian_8 or is_raspbian_9 or is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17) # we need to install the rpm in order to get the dependencies # but we only need to do this the first time