mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
replace redundant to_native()/to_text() occurrences, batch 8 (#11143)
* replace redundant to_native()/to_text() occurrences, batch 8 * add changelog frag * Update plugins/modules/jira.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -300,7 +300,7 @@ class OnePasswordInfo:
|
||||
rc, out, err = self._run(args, command_input=to_bytes(self.auto_login["master_password"]))
|
||||
self.token = out.strip()
|
||||
except AnsibleModuleError as e:
|
||||
module.fail_json(msg=f"Failed to perform initial sign in to 1Password: {to_native(e)}")
|
||||
module.fail_json(msg=f"Failed to perform initial sign in to 1Password: {e}")
|
||||
else:
|
||||
module.fail_json(
|
||||
msg=f"Unable to perform an initial sign in to 1Password. Please run '{self.cli_path} signin' "
|
||||
|
||||
Reference in New Issue
Block a user