fix: no_log only api_password for elasticsearch_template module
This commit is contained in:
parent
50fcc110b7
commit
c91f4dea5f
3 changed files with 2 additions and 2 deletions
|
@ -11,6 +11,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
### Fixed
|
||||
|
||||
- no_log only api_password for elasticsearch_template module
|
||||
- add full python3 support
|
||||
|
||||
## v1.1.0 - 2019-11-21
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
index_patterns: '{{ item.value.index_patterns }}'
|
||||
settings: '{{ item.value.settings|default({}) }}'
|
||||
mappings: '{{ item.value.mappings|default({}) }}'
|
||||
no_log: true
|
||||
loop: '{{ elasticsearch_index_templates|dict2items }}'
|
||||
run_once: true
|
||||
tags: elasticsearch
|
||||
|
|
Loading…
Add table
Reference in a new issue