Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These discovery tasks always show up as "changed" in the Ansible output. This patch ensures that they are not labeled as changed when they are run. The patch also fixes the idempotency check grep so that it works properly with multiple hosts. Previously, if *any* of the hosts finished with no changes/failures, the entire job was marked as passing the idempotency tests. Depends-On: I17748b0dd2307fd9bee705140c67883140090298 Change-Id: Ie414d32d39fdeeedd77fe94b57a09ba344084ec1 Signed-off-by: Major Hayden <major@mhtx.net>
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,6 @@ | |
retries: 5 | ||
delay: 2 | ||
until: _update | succeeded | ||
changed_when: false | ||
when: | ||
- ansible_pkg_mgr == 'apt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters