Giter Club home page Giter Club logo

Comments (3)

ansibot avatar ansibot commented on June 5, 2024

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the component bot command.

from ansible.

jadacyrus avatar jadacyrus commented on June 5, 2024

Nevermind, this is due to my use of Mitogen strategy plugin.

The full traceback is:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/ansible/executor/task_executor.py", line 165, in run
    res = self._execute()
  File "/usr/local/lib/python3.9/dist-packages/ansible/executor/task_executor.py", line 656, in _execute
    result = self._handler.run(task_vars=vars_copy)
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/mixins.py", line 146, in run
    return super(ActionModuleMixin, self).run(tmp, task_vars)
  File "/usr/local/lib/python3.9/dist-packages/ansible/plugins/action/command.py", line 21, in run
    results = merge_hash(results, self._execute_module(module_name='ansible.legacy.command', task_vars=task_vars, wrap_async=wrap_async))
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/mixins.py", line 376, in _execute_module
    self._set_temp_file_args(module_args, wrap_async)
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/mixins.py", line 355, in _set_temp_file_args
    self._connection.get_good_temp_dir()
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/connection.py", line 827, in get_good_temp_dir
    self._connect()
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/connection.py", line 848, in _connect
    inventory_name, stack = self._build_stack()
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/connection.py", line 782, in _build_stack
    stack = self._stack_from_spec(spec)
  File "/usr/local/lib/python3.9/dist-packages/ansible_mitogen/connection.py", line 765, in _stack_from_spec
    stack += (CONNECTION_METHOD[spec.become_method()](spec),)
KeyError: 'ansible.builtin.sudo'
fatal: [localhost]: FAILED! =>
  msg: 'Unexpected failure during module execution: ''ansible.builtin.sudo'''
  stdout: ''

I will open an issue with mitogen.

from ansible.

Akasurde avatar Akasurde commented on June 5, 2024

Closing as per the above comment.

from ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.