Skip to content

Commit

Permalink
Install Roundcube dependencies first
Browse files Browse the repository at this point in the history
Install Roundcube dependencies first then Ensure database user is present
  • Loading branch information
neidiom authored Apr 14, 2023
1 parent e4311b9 commit 967db2e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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
Expand Down

0 comments on commit 967db2e

Please sign in to comment.