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

Use changed_when to avoid changed tasks #24

Merged
merged 1 commit into from
Jun 19, 2015
Merged

Conversation

rndmh3ro
Copy link
Member

When a shell or command task, that only fetches data, gets executed,
the task will be marked as changed, even though nothing changed.
This commit changes the behaviour of tasks that only fetch data.
For more info see here:
http://docs.ansible.com/playbooks_error_handling.html#overriding-the-changed-result

When a shell or command task, that only fetches data, gets executed,
the task will be marked as change, even though nothing changed.
This commit changes the behaviour of tasks that only fetch data.
For more info see here:
http://docs.ansible.com/playbooks_error_handling.html#overriding-the-changed-result
@chris-rock
Copy link
Member

good improvement

chris-rock added a commit that referenced this pull request Jun 19, 2015
Use changed_when to avoid changed tasks
@chris-rock chris-rock merged commit 71c7042 into master Jun 19, 2015
@chris-rock chris-rock deleted the result_override branch June 19, 2015 09:48
rndmh3ro pushed a commit that referenced this pull request Jul 24, 2020
Separate system-vars from editable vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants