Skip to content

Commit

Permalink
properly test for mariadb
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Oct 4, 2024
1 parent 105c0cb commit 1e39103
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions roles/mysql/molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@
hosts: all
gather_facts: false
tasks:
- name: check mariadb package status
- name: Check mariadb package status
ansible.builtin.package:
name: "{{ item }}"
state: present
check_mode: true
register: pkg_status
loop:
- mariadb-server
- mysql-common
- mariadb-server-10.6

- name: test for ruby packages
- name: Test for mariadb packages
ansible.builtin.assert:
that:
- not pkg_status.changed

0 comments on commit 1e39103

Please sign in to comment.