fix test statements

This commit is contained in:
LinuxSquare 2024-12-01 20:32:56 +01:00
parent edd27d4cbf
commit 655b0e2f88
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@
shell: |
test -f /var/lib/mysql/.secured
register: MYSQL_SECURED
ignore_errors: true
- name: mysql_secure_installation
mysql_secure_installation:
login_password: ''

View file

@ -4,6 +4,7 @@
shell: |
test -d /var/lib/mysql/mysql
register: MYSQL_DIRECTORY_EXISTS
ignore_errors: true
- name: MariaDB setup
shell: |
/etc/init.d/mariadb setup