webgate check if db tables exist

This commit is contained in:
muppeth 2022-05-12 00:45:28 +02:00
parent 99fed77ba7
commit 4a2b9c13a8
Signed by: muppeth
GPG key ID: 0EBC7B9848D04031

View file

@ -15,8 +15,8 @@
- name: '[Webgate] - Chec if db has tables'
shell:
cmd: "mysql -h {{ rcube_db_hostname }} -u {{ lacre_db_username }} -p{{ lacre_db_password }} {{ lacre_db_name }} -se 'select * from gpgmw_keys;'"
register: webgate_installed
ignore_errors: true
register: webgate_installed
ignore_errors: true
- name: '[Webgate] - Import sql schema'
mysql_db: