-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix Idempotent Test #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The goal of the idempotent test is to let us know when we are following bad practices for ansible playbooks. Unfortunately, it is impossible for shell commands to be truly idempotent and there are other things that inevitably change (ie, git clones) or could easily change and not be an indicator of bad practice (ie, if an update to a package happened to come out between runs).
To improve the situation, we need to do two things:
changed_when
andfailed_when
fields to shell command tasks, which will give them something resembling idempotent status.This is relatively low priority.
The text was updated successfully, but these errors were encountered: