From 13e769a1ef803e2df519bed3fe2a0bb5ff6066be Mon Sep 17 00:00:00 2001 From: alexanderbazhenoff Date: Sat, 6 Apr 2024 22:52:14 +0300 Subject: [PATCH] fixes debug v2 --- .github/workflows/ansible_molecule_teststing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ansible_molecule_teststing.yml b/.github/workflows/ansible_molecule_teststing.yml index 09db386..40247fe 100644 --- a/.github/workflows/ansible_molecule_teststing.yml +++ b/.github/workflows/ansible_molecule_teststing.yml @@ -66,8 +66,8 @@ jobs: run: | printf "[defaults]\nremote_tmp = /tmp/.ansible-\${USER}/tmp" > $HOME/.ansible.cfg cd roles/bareos - DEBUG_OPT="$([[ "$COMMIT_MSG" =~ .(debug) ]] && echo '--debug')" - VERBOSE_OPT="$([[ "$COMMIT_MSG" =~ .(debug).v([1-3]) ]] && echo '-v ${COMMIT_MSG/*debug v/}')" + DEBUG_OPT=$([[ "$COMMIT_MSG" =~ .(debug) ]] && echo "--debug") + VERBOSE_OPT=$([[ "$COMMIT_MSG" =~ .(debug).v([1-3]) ]] && echo "-v ${COMMIT_MSG/*debug v/}") echo "DEBUG_OPT: $DEBUG_OPT" echo "VERBOSE_OPT: $VERBOSE_OPT" set -x