1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Mask login_password in log (#21199)

This commit is contained in:
Tatsuya Hoshino 2017-02-10 03:16:54 +09:00 committed by Matt Davis
parent a995fa43a6
commit 41f3680dfd
15 changed files with 15 additions and 15 deletions

View file

@ -343,7 +343,7 @@ def main():
default="http://127.0.0.1:35357/v2.0"),
token=dict(required=False),
login_user=dict(required=False),
login_password=dict(required=False),
login_password=dict(required=False, no_log=True),
login_tenant_name=dict(required=False)
))
# keystone operations themselves take an endpoint, not a keystone auth_url

View file

@ -122,7 +122,7 @@ def main():
extra_info = dict(required=False, default=""),
port_open = dict(required=False, type='bool', default=False),
login_name = dict(required=True),
login_password = dict(required=True),
login_password = dict(required=True, no_log=True),
machine = dict(required=False, default=False),
),
supports_check_mode=True

View file

@ -114,7 +114,7 @@ def main():
type = dict(required=True),
password = dict(required=False, default=None),
login_name = dict(required=True),
login_password = dict(required=True),
login_password = dict(required=True, no_log=True),
machine = dict(required=False, default=False),
),
supports_check_mode=True

View file

@ -103,7 +103,7 @@ def main():
state = dict(required=False, choices=['present', 'absent'], default='present'),
subdomains = dict(required=False, default=[]),
login_name = dict(required=True),
login_password = dict(required=True),
login_password = dict(required=True, no_log=True),
),
supports_check_mode=True
)

View file

@ -90,7 +90,7 @@ def main():
mailbox_password=dict(required=True),
state=dict(required=False, choices=['present', 'absent'], default='present'),
login_name=dict(required=True),
login_password=dict(required=True),
login_password=dict(required=True, no_log=True),
),
supports_check_mode=True
)

View file

@ -122,7 +122,7 @@ def main():
subdomains = dict(required=False, type='list', default=[]),
site_apps = dict(required=False, type='list', default=[]),
login_name = dict(required=True),
login_password = dict(required=True),
login_password = dict(required=True, no_log=True),
),
supports_check_mode=True
)

View file

@ -345,7 +345,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
login_user=dict(default=None),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
login_host=dict(default='localhost'),
login_port=dict(default='27017'),
login_database=dict(default=None),

View file

@ -159,7 +159,7 @@ def main():
argument_spec=dict(
name=dict(required=True, aliases=['db']),
login_user=dict(default=''),
login_password=dict(default=''),
login_password=dict(default='', no_log=True),
login_host=dict(required=True),
login_port=dict(default='1433'),
target=dict(default=None),

View file

@ -246,7 +246,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
login_user=dict(default="postgres"),
login_password=dict(default=""),
login_password=dict(default="", no_log=True),
login_host=dict(default=""),
login_unix_socket=dict(default=""),
port=dict(default="5432"),

View file

@ -180,7 +180,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
login_user=dict(default="postgres"),
login_password=dict(default=""),
login_password=dict(default="", no_log=True),
login_host=dict(default=""),
login_unix_socket=dict(default=""),
port=dict(default="5432"),

View file

@ -145,7 +145,7 @@ def main():
cluster=dict(default='localhost'),
port=dict(default='5433'),
login_user=dict(default='dbadmin'),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
), supports_check_mode = True)
if not pyodbc_found:

View file

@ -230,7 +230,7 @@ def main():
port=dict(default='5433'),
db=dict(default=None),
login_user=dict(default='dbadmin'),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
), supports_check_mode = True)
if not pyodbc_found:

View file

@ -185,7 +185,7 @@ def main():
cluster=dict(default='localhost'),
port=dict(default='5433'),
login_user=dict(default='dbadmin'),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
), supports_check_mode = True)
if not pyodbc_found:

View file

@ -254,7 +254,7 @@ def main():
cluster=dict(default='localhost'),
port=dict(default='5433'),
login_user=dict(default='dbadmin'),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
), supports_check_mode = True)
if not pyodbc_found:

View file

@ -315,7 +315,7 @@ def main():
cluster=dict(default='localhost'),
port=dict(default='5433'),
login_user=dict(default='dbadmin'),
login_password=dict(default=None),
login_password=dict(default=None, no_log=True),
), supports_check_mode = True)
if not pyodbc_found: