diff --git a/.github/workflows/ansible_molecule_teststing.yml b/.github/workflows/ansible_molecule_teststing.yml index 17e33f8..b462839 100644 --- a/.github/workflows/ansible_molecule_teststing.yml +++ b/.github/workflows/ansible_molecule_teststing.yml @@ -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'