Closed TheQueasle closed 2 years ago
For the create and update modules, the mapping seems to be off for the passwords.
https://github.com/daniel-lynch/daniel_lynch.passbolt/blob/main/plugins/modules/create_password.py#L114 https://github.com/daniel-lynch/daniel_lynch.passbolt/blob/main/plugins/modules/update_password.py#L128
If I use the code as-is, when a new entry is created or an entry is updated in passbolt, the password field is added with the name of the entry instead of the password.
If I change those lines to the following, it works as expected.
password = module.params['password']
Good catch @TheQueasle! Thanks for the PR.
For the create and update modules, the mapping seems to be off for the passwords.
https://github.com/daniel-lynch/daniel_lynch.passbolt/blob/main/plugins/modules/create_password.py#L114 https://github.com/daniel-lynch/daniel_lynch.passbolt/blob/main/plugins/modules/update_password.py#L128
If I use the code as-is, when a new entry is created or an entry is updated in passbolt, the password field is added with the name of the entry instead of the password.
If I change those lines to the following, it works as expected.