Skip to content

Commit

Permalink
Merge pull request #5 from Kraktorist/kraktorist/fix-issue-3
Browse files Browse the repository at this point in the history
[Fix]  The conditional check 'result | changed' failed
  • Loading branch information
eatsleeplim authored Oct 13, 2022
2 parents 0f3dea0 + ada1858 commit f3215c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@

- name: Update CA Trust (Debian, Ubuntu)
command: update-ca-certificates
when: result | changed
when: result is changed
4 changes: 2 additions & 2 deletions tasks/red_hat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

- name: Update CA Trust (Red Hat)
command: update-ca-trust
when: result | changed
when: result is changed

- name: Update CA Trust (Red Hat < 7)
command: update-ca-trust enable
when:
- result | changed
- result is changed
- ansible_distribution_version|int < 7

0 comments on commit f3215c5

Please sign in to comment.