diff --git a/tasks/main.yml b/tasks/main.yml index c85e151..c0dcfdf 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,6 +11,12 @@ home: "{{ roundcube_user_home }}" shell: "{{ roundcube_user_shell }}" +- name: Install Roundcube dependencies + apt: + pkg: "{{ roundcube_dependencies }}" + state: present + install_recommends: False + - name: Ensure database user is present mysql_user: name: "{{ roundcube_mysql_user }}" @@ -28,12 +34,6 @@ login_unix_socket: /run/mysqld/mysqld.sock notify: Import database -- name: Install Roundcube dependencies - apt: - pkg: "{{ roundcube_dependencies }}" - state: present - install_recommends: False - - name: Import mcrypt tasks import_tasks: mcrypt.yml when: ansible_distribution_major_version|int > 9