Skip to content

Commit

Permalink
Tried to fix the failed_when in "Fix gshadow" task
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Dec 19, 2024
1 parent 5aa880b commit b1f7191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/login_defs-slackware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,6 @@
register: result
changed_when:
- result.rc != 0
failed_when:
- result.failed == true
- '"grpck: the files have been updated" not in result.stdout' and result.rc != 2

Check failure on line 140 in tasks/login_defs-slackware.yml

View workflow job for this annotation

GitHub Actions / yamllint

140:67 syntax error: expected <block end>, but found '<scalar>' (syntax)

0 comments on commit b1f7191

Please sign in to comment.