Skip to content

Commit

Permalink
fixes debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbazhenoff committed Apr 6, 2024
1 parent fee15da commit 31bbea6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ansible_molecule_teststing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ jobs:
run: |
printf "[defaults]\nremote_tmp = /tmp/.ansible-\${USER}/tmp" > $HOME/.ansible.cfg
cd roles/bareos
poetry --ansi run molecule \
"$([[ "${{ github.event.head_commit.message }}" =~ .(debug) ]] && echo '--debug')" test
DEBUG_OPT="$([[ "${{ github.event.head_commit.message }}" =~ .(debug) ]] && echo '--debug')"
echo "DEBUG_OPT: $DEBUG_OPT"
poetry --ansi run molecule $DEBUG_OPT test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
Expand Down

0 comments on commit 31bbea6

Please sign in to comment.