mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-15 08:21:31 +00:00
modules s[a-e]*: use f-strings (#10976)
* modules s[a-e]*: use f-strings * add changelog frag
This commit is contained in:
parent
32dd5f04c5
commit
73452acf84
28 changed files with 243 additions and 280 deletions
|
|
@ -83,7 +83,7 @@ def main():
|
|||
if executable:
|
||||
break
|
||||
else:
|
||||
module.fail_json(msg='Unable to find either %s' % ', '.join(possibles))
|
||||
module.fail_json(msg=f"Unable to find either {', '.join(possibles)}")
|
||||
|
||||
if module.check_mode:
|
||||
module.exit_json(msg=msg, changed=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue