lowercase database_type

This commit is contained in:
phil 2024-03-23 23:10:01 +01:00
parent 3f9e81569d
commit 758a45bf18
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
- name: "Richte MariaDB-Datenbank ein"
when: item.database_type == "MariaDB"
when: item.database_type == "mariadb"
block:
- name: "Database | Erstelle Datenbank | {{ item.name }}"
community.mysql.mysql_db:

View file

@ -46,7 +46,7 @@
become: true
become_user: "{{ item.user }}"
changed_when: true
when: not nc_is_installed.stat.exists and item.database_type == "MariaDB"
when: not nc_is_installed.stat.exists and item.database_type == "mariadb"
- name: "Nextcloud | Führe Installation aus | {{ item.name }}"
ansible.builtin.command:
@ -58,4 +58,4 @@
chdir: "{{ nextcloud_install_path }}"
become: true
become_user: "{{ item.user }}"
when: not nc_is_installed.stat.exists and item.database_type == "PostgreSQL"
when: not nc_is_installed.stat.exists and item.database_type == "postgresql"