diff options
author | Jordan Borean <jborean93@gmail.com> | 2023-02-14 23:49:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 23:49:30 +0100 |
commit | 1e6b8249e7755ef76baf27c2ebd5f0d05ef322cc (patch) | |
tree | 751ea2facff3f66c9770f036cb04113a8358ac24 /test/integration/targets/no_log | |
parent | Make using blocks as handlers a parser error (#79993) (diff) | |
download | ansible-1e6b8249e7755ef76baf27c2ebd5f0d05ef322cc.tar.xz ansible-1e6b8249e7755ef76baf27c2ebd5f0d05ef322cc.zip |
Add condition that causes a when to skip a task to output msg (#78918)
* Add condition that causes a when to skip a task
* Fix up tests
* Use false_condition instead of failed_condition
* Remove formatting accidentially added
* Fix sanity
Diffstat (limited to 'test/integration/targets/no_log')
-rwxr-xr-x | test/integration/targets/no_log/runme.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/no_log/runme.sh b/test/integration/targets/no_log/runme.sh index bb5c048fc9..795730bddd 100755 --- a/test/integration/targets/no_log/runme.sh +++ b/test/integration/targets/no_log/runme.sh @@ -5,7 +5,7 @@ set -eux # This test expects 7 loggable vars and 0 non-loggable ones. # If either mismatches it fails, run the ansible-playbook command to debug. [ "$(ansible-playbook no_log_local.yml -i ../../inventory -vvvvv "$@" | awk \ -'BEGIN { logme = 0; nolog = 0; } /LOG_ME/ { logme += 1;} /DO_NOT_LOG/ { nolog += 1;} END { printf "%d/%d", logme, nolog; }')" = "26/0" ] +'BEGIN { logme = 0; nolog = 0; } /LOG_ME/ { logme += 1;} /DO_NOT_LOG/ { nolog += 1;} END { printf "%d/%d", logme, nolog; }')" = "27/0" ] # deal with corner cases with no log and loops # no log enabled, should produce 6 censored messages |