diff --git a/when-quotes.yaml b/when-quotes.yaml index 1ac19ff..329660c 100644 --- a/when-quotes.yaml +++ b/when-quotes.yaml @@ -8,23 +8,23 @@ tasks: - name: I'm skipped and that's ok - debug: - msg: I'm skipped and that's ok + fail: + msg: If you see this, there is something wrong when: (a and b) or c - name: I'm skipped and that's ok - debug: - msg: I'm skipped and that's ok + fail: + msg: If you see this, there is something wrong when: '(a and b) or c' - name: I'm skipped and that's ok - debug: - msg: I'm skipped and that's ok + fail: + msg: If you see this, there is something wrong when: >- (a and b) or c - name: I should not be there! fail: - msg: I should not be there! + msg: Quotes at the wrong place will lead to a wrong result when: ('a and b') or 'c'