mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
influxdb: fix 'database_name' not optional (#35280)
follup up of 168fb07cba
This commit is contained in:
parent
5a8c73ad1b
commit
005a8278c6
2 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,7 @@ class InfluxDb():
|
|||
self.port = self.params['port']
|
||||
self.username = self.params['username']
|
||||
self.password = self.params['password']
|
||||
self.database_name = self.params['database_name']
|
||||
self.database_name = self.params.get('database_name')
|
||||
|
||||
def check_lib(self):
|
||||
if not HAS_REQUESTS:
|
||||
|
|
|
@ -125,7 +125,6 @@ def main():
|
|||
user_name=dict(required=True, type='str'),
|
||||
user_password=dict(required=False, type='str', no_log=True),
|
||||
admin=dict(default='False', type='bool')
|
||||
|
||||
)
|
||||
module = AnsibleModule(
|
||||
argument_spec=argument_spec,
|
||||
|
|
Loading…
Reference in a new issue