Skip to content

Commit

Permalink
add nolog for password fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bartowl committed Aug 17, 2023
1 parent a7e7e8b commit 42c7c9c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/375_nolog_modules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- "oradb_facts: list of exported attributes is now configurable (oravirt#375)"
2 changes: 1 addition & 1 deletion plugins/modules/oracle_awr
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
snapshot_interval_min = dict(default=60, type='int', aliases=['interval']),
snapshot_retention_days = dict(default=8, type='int', aliases=['retention'])
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_facts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"])
),
supports_check_mode=True
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_job
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
state = dict(default="present", choices=["present", "absent"]),
enabled = dict(default=True, type='bool'),
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_jobclass
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
state = dict(default="present", choices=["present", "absent"]),
name = dict(required=True),
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_jobschedule
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
state = dict(default="present", choices=["present", "absent"]),
name = dict(required=True),
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_jobwindow
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
state = dict(default="enabled", choices=["absent","enabled","disabled"]),
name = dict(required=True, aliases=["window_name"]),
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/oracle_ldapuser
Original file line number Diff line number Diff line change
Expand Up @@ -220,17 +220,17 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
user_default_tablespace = dict(default='USERS'),
user_quota_on_default_tbs_mb = dict(default=None, type='int'), # None is unlimited
user_temp_tablespace = dict(default='TEMP'),
user_profile = dict(default='LDAP_USER'),
user_default_password = dict(default=None), # None means EXTERNAL
user_default_password = dict(default=None, no_log=True), # None means EXTERNAL
user_grants = dict(default=['create session'], type='list'),
ldap_connect = dict(required=True),
ldap_binddn = dict(required=True),
ldap_bindpassword = dict(required=True),
ldap_bindpassword = dict(required=True, no_log=True),
ldap_user_basedn = dict(required=True),
ldap_user_subtree = dict(default=True, type='bool'),
ldap_user_filter = dict(default='(objectClass=user)'),
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/oracle_rsrc_consgroup
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def main():
port = dict(default=1521, type='int'),
service_name = dict(required=True),
user = dict(required=False),
password = dict(required=False),
password = dict(required=False, no_log=True),
mode = dict(default='normal', choices=["normal","sysdba"]),
state = dict(default="present", choices=["present", "absent"]),
name = dict(required=True),
Expand Down

0 comments on commit 42c7c9c

Please sign in to comment.