Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use the Task object in the dictionary of results for include_role #34461

Merged
merged 1 commit into from
Jan 4, 2018

Conversation

jimi-c
Copy link
Member

@jimi-c jimi-c commented Jan 4, 2018

The short-circuiting of include_role in TaskExecutor was using the _task object
in the result dictionary. This causes the playbook class to be serialized, which
is something we no longer do due to speed/size problems with nested objects.

Simply removing this should fix a lot of memory and speed problems with include_role.

The short-circuiting of include_role in TaskExecutor was using the _task object
in the result dictionary. This causes the playbook class to be serialized, which
is something we no longer do due to speed/size problems with nested objects.

Simply removing this should fix a lot of memory and speed problems with include_role.
@jimi-c
Copy link
Member Author

jimi-c commented Jan 4, 2018

!bot_skip

@ansibot ansibot added affects_2.5 This issue/PR affects Ansible v2.5 needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Jan 4, 2018
@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label Jan 4, 2018
@bcoca bcoca merged commit c30ee42 into ansible:devel Jan 4, 2018
@abadger
Copy link
Contributor

abadger commented Jan 18, 2018

Cherrypicked for 2.4.3rc3

@abadger
Copy link
Contributor

abadger commented Jan 19, 2018

This has been reverted from 2.4.3rc3 as it causes undesired behaviour. We're evaluating whether a fix that does not change behaviour can be added into 2.4.3 or if it will have to wait for 2.4.4.

@abadger
Copy link
Contributor

abadger commented Jan 19, 2018

I was confused. The commit causing the new behaviour is in rc2 and is a blocker for the 2.4.3 release. I've re-cherry-picked this commit for the 2.4.3-rc3 release which will be next Wednesday, the 24th of January.

@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.5 This issue/PR affects Ansible v2.5 support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants