From 7cb508e36b6381e5c331f65b293bd87e8cdd6a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Wed, 27 Mar 2019 15:42:43 +0100 Subject: [PATCH] new example --- when-quotes.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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'