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

Edits made based on suggestion

Removed my previous line and edited the install task to do a check for debian.
parent e809068a
--- ---
- name: "[mySQL] - Service is installed."
package:
name: "{{ nextcloud_db_backend }}-server"
state: present
register: nc_mysql_db_install
when: ansible_distribution != "Debian"
- name: "[mySQL: Debian] - Service is installed." - name: "[mySQL: Debian] - Service is installed."
package: package:
name: "default-{{ nextcloud_db_backend }}-server" name: "{{ 'default-' if (ansible_distribution|lower) == 'debian' else '' }}{{ nextcloud_db_backend }}-server"
state: present state: present
register: nc_mysql_db_install register: nc_mysql_db_install
when: ansible_distribution == "Debian"
- name: "[mySQL] - Packages are installed." - name: "[mySQL] - Packages are installed."
package: package:
......
Supports Markdown
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