Unverified Commit e809068a authored by Seabass-Chan's avatar Seabass-Chan Committed by GitHub
Browse files

Debian does not have a "mysql-server" package

This creates a check for if the user has Debian or not.
In Debian, the package name for mysql is "default-mysql-server".
parent ae408974
......@@ -4,6 +4,14 @@
name: "{{ nextcloud_db_backend }}-server"
state: present
register: nc_mysql_db_install
when: ansible_distribution != "Debian"
- name: "[mySQL: Debian] - Service is installed."
package:
name: "default-{{ nextcloud_db_backend }}-server"
state: present
register: nc_mysql_db_install
when: ansible_distribution == "Debian"
- name: "[mySQL] - Packages are installed."
package:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment