Skip to content

Commit

Permalink
Change param user to username
Browse files Browse the repository at this point in the history
  • Loading branch information
CWollinger committed Feb 16, 2020
1 parent ebf5a55 commit fb36b57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Manage DNS records for the Ericsson IPWorks DNS server. The module will use the
| target | string | | | Sets the target of the SRV record. Required for `type=SRV` |
| ttl | integer | | Default: 3600 | Sets the ttl of the record. |
| type | string | required | Choices: NAPTR, SRV, A, AAAA | Type of the record. |
| user | string | required | | Username to login on ipwcli. |
| username | string | required | | Username to login on ipwcli. |
| weight | integer | | Default: 10 | Sets the weight of the SRV record. |

## Notes
Expand Down
6 changes: 3 additions & 3 deletions ipwcli_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
- Sets the replacement of the NAPTR record.
- Required for C(type=NAPTR)
type: str
user:
username:
description:
- Username to login on ipwcli.
type: str
Expand Down Expand Up @@ -184,7 +184,7 @@ def __init__(self, module):
self.flags = module.params['flags']
self.service = module.params['service']
self.replacement = module.params['replacement']
self.user = module.params['user']
self.user = module.params['username']
self.password = module.params['password']

def create_naptrrecord(self):
Expand Down Expand Up @@ -297,7 +297,7 @@ def run_module():
flags=dict(type='str', required=False, choices=['S', 'A', 'U', 'P']),
service=dict(type='str', required=False),
replacement=dict(type='str', required=False),
user=dict(type='str', required=True),
username=dict(type='str', required=True),
password=dict(type='str', required=True, no_log=True)
)

Expand Down

0 comments on commit fb36b57

Please sign in to comment.