1
0
forked from infra/ansible

librenms: comment out broken mysql_user statement

The used mysql_user statement seems to be broken. Since the service is
currently running the statement is commented out in order to still be
able to run this role.
This commit is contained in:
Markus 2020-11-14 10:59:32 +01:00
parent c8695d4aaa
commit dfe0804a3d

View File

@ -32,8 +32,9 @@
- name: Configure MySQL database
mysql_db: name={{ librenms_dbname }}
- name: Configure MySQL user
mysql_user: name={{ librenms_dbuser }} password={{ librenms_dbpass }} priv={{ librenms_dbname }}.*:ALL state=present
# FIXME the following statement has broken at some point in time
#- name: Configure MySQL user
# mysql_user: name={{ librenms_dbuser }} password={{ librenms_dbpass }} priv={{ librenms_dbname }}.*:ALL state=present
- name: Ensure librenms user exists
user: name=librenms groups=www-data createhome=no home=/usr/share/librenms system=yes