From 1eed8900ed58d4ca857eba885e758a4cbced5fba Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 23 Nov 2018 11:25:07 -0800 Subject: [PATCH] influxdb_user: Fixed default password behavior (#47040) --- lib/ansible/modules/database/influxdb/influxdb_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/database/influxdb/influxdb_user.py b/lib/ansible/modules/database/influxdb/influxdb_user.py index ac633e66977..a1196c19602 100644 --- a/lib/ansible/modules/database/influxdb/influxdb_user.py +++ b/lib/ansible/modules/database/influxdb/influxdb_user.py @@ -157,7 +157,7 @@ def main(): state = module.params['state'] user_name = module.params['user_name'] - user_password = module.params['user_password'] + user_password = module.params['user_password'] or '' admin = module.params['admin'] influxdb = influx.InfluxDb(module) client = influxdb.connect_to_influxdb()