fix test statements
This commit is contained in:
parent
edd27d4cbf
commit
655b0e2f88
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
shell: |
|
shell: |
|
||||||
test -f /var/lib/mysql/.secured
|
test -f /var/lib/mysql/.secured
|
||||||
register: MYSQL_SECURED
|
register: MYSQL_SECURED
|
||||||
|
ignore_errors: true
|
||||||
- name: mysql_secure_installation
|
- name: mysql_secure_installation
|
||||||
mysql_secure_installation:
|
mysql_secure_installation:
|
||||||
login_password: ''
|
login_password: ''
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
shell: |
|
shell: |
|
||||||
test -d /var/lib/mysql/mysql
|
test -d /var/lib/mysql/mysql
|
||||||
register: MYSQL_DIRECTORY_EXISTS
|
register: MYSQL_DIRECTORY_EXISTS
|
||||||
|
ignore_errors: true
|
||||||
- name: MariaDB setup
|
- name: MariaDB setup
|
||||||
shell: |
|
shell: |
|
||||||
/etc/init.d/mariadb setup
|
/etc/init.d/mariadb setup
|
||||||
|
|
Loading…
Reference in a new issue