fix test statements
This commit is contained in:
parent
074b6ac04c
commit
edd27d4cbf
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
tasks:
|
||||
- name: Test if mysql has been secured
|
||||
shell: |
|
||||
test /var/lib/mysql/.secured
|
||||
test -f /var/lib/mysql/.secured
|
||||
register: MYSQL_SECURED
|
||||
- name: mysql_secure_installation
|
||||
mysql_secure_installation:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
tasks:
|
||||
- name: Test if directory exists
|
||||
shell: |
|
||||
test /var/lib/mysql/mysql
|
||||
test -d /var/lib/mysql/mysql
|
||||
register: MYSQL_DIRECTORY_EXISTS
|
||||
- name: MariaDB setup
|
||||
shell: |
|
||||
|
|
Loading…
Reference in a new issue