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 304c6d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions roles/ealapps/molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
hosts: all
gather_facts: false
tasks:
- name: check php curl status
- name: Check php curl status
ansible.builtin.package:
name: "{{ item }}"
state: present
check_mode: true
register: pkg_status
loop:
- php8.1-curl
- php8.3-curl

- name: test for ruby packages
- name: Test for PHP packages
assert:
that:
- not pkg_status.changed
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 304c6d3

Please sign in to comment.