Skip to content

Return value from execute() #474

Description

@bitprophet

While it's a more thorny proposal for things like parallel execution (but likely still do-able), normal serial execution in execute() should be storing the results of each host+task execution run, and returning e.g. a map of host string to result value, instead of None.

This way folks that do rely on tasks returning real values are still able to obtain that data without stuffing it into env.

Submitted on the mailing list by K. Danilov.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions