-
Notifications
You must be signed in to change notification settings - Fork 2
Fix Idempotent Test #13
Copy link
Copy link
Open
Description
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:
- Label tests that cannot be reliably made idempotent with the tag “not-idempotent” so that they are skipped by this test.
- Add
changed_whenandfailed_whenfields to shell command tasks, which will give them something resembling idempotent status.
This is relatively low priority.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels