mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 23:39:09 -07:00
Fix more typos (#7439)
* Fix more typos in plugins/. * Fix typos in tests/unit/. * Fix typos in tests/integration/. * Fix more typos. Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com> --------- Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
This commit is contained in:
parent
f7532c7d9d
commit
2b62826082
62 changed files with 99 additions and 99 deletions
|
@ -12,7 +12,7 @@ from ansible.plugins.loader import become_loader, get_shell_plugin
|
|||
|
||||
|
||||
def call_become_plugin(task, var_options, cmd, executable=None):
|
||||
"""Helper function to call become plugin simiarly on how Ansible itself handles this."""
|
||||
"""Helper function to call become plugin similarly on how Ansible itself handles this."""
|
||||
plugin = become_loader.get(task['become_method'])
|
||||
plugin.set_options(task_keys=task, var_options=var_options)
|
||||
shell = get_shell_plugin(executable=executable)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue