Skip to content

Commit

Permalink
fix: invert check
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez committed Dec 20, 2023
1 parent 70b7441 commit c4d097a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
register: result
when: inventory_hostname is search(item.hostname)
loop: "{{ mac }}"
failed_when: "Error: This machine is already licensed" in result.stdout
failed_when: "Error: This machine is already licensed" not in result.stdout
...

0 comments on commit c4d097a

Please sign in to comment.