fix: no_log only api_password for elasticsearch_template module

This commit is contained in:
Adrien Waksberg 2020-08-09 08:40:17 +02:00
parent 50fcc110b7
commit c91f4dea5f
3 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ def main():
'mappings': { 'type': 'dict', 'default': {} },
'api_url': { 'type': 'str', 'default': 'http://127.0.0.1:9200' },
'api_user': { 'type': 'str', 'default': None },
'api_password': { 'type': 'str', 'default': None },
'api_password': { 'type': 'str', 'default': None, 'no_log': True },
}
module = AnsibleModule(argument_spec=fields)
changed = False