Skip to content

Commit

Permalink
fixes debug v2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbazhenoff committed Apr 6, 2024
1 parent 59976c7 commit 13e769a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ansible_molecule_teststing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13e769a

Please sign in to comment.