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 adda8f1 commit fee15da
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 @@ -20,7 +20,6 @@ jobs:
image: ubuntu:latest
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
- "/tmp"
options: --privileged --cap-add SYS_ADMIN
permissions:
statuses: write
Expand Down Expand Up @@ -60,14 +59,16 @@ jobs:
sudo --version || true
poetry --ansi run ansible --version
poetry --ansi run ansible-galaxy --version
ls -lha /tmp || true
ls -lh / | grep tmp || true
- name: Molecule test
shell: bash
# poetry --ansi run ansible-galaxy install -r requirements.yml -vvv
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) ]] && printf "--debug") test
"$([[ "${{ github.event.head_commit.message }}" =~ .(debug) ]] && echo '--debug')" test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
Expand Down

0 comments on commit fee15da

Please sign in to comment.