Skip to content
Snippets Groups Projects
Commit 6fe042d2 authored by Chris Croome's avatar Chris Croome
Browse files

Check if MariaDB is installed in check mode

parent 21d25d6a
No related branches found
No related tags found
No related merge requests found
Pipeline #25686 passed
---
- name: Check if mariadb-server is present
ansible.builtin.command: dpkg -l mariadb-server
check_mode: false
changed_when: false
register: mariadb_dpkg
failed_when: mariadb_dpkg.rc is not regex('^0|1$')
tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment