Verification that users are created missing

This makes sure that the CI also verifies that creating users during
deployment works.
This commit is contained in:
Faustin Lammler 2025-01-10 14:25:22 +01:00
parent 49c3b18424
commit 8be1a71c99
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 8 additions and 0 deletions

View File

@ -119,6 +119,14 @@
- db1
- db2
- name: Check that test users exist
ansible.builtin.shell: |
mariadb -Bse 'SELECT user from mysql.user' | grep -q '^{{ item }}$'
loop:
- user1
- user2
- user3
- name: Do some SQL queries
ansible.builtin.shell: |
mariadb -Bse 'DROP DATABASE IF EXIST db'