Skip to content

Commit

Permalink
Check if event log has some info about failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanotti committed Dec 12, 2023
1 parent 21944bb commit 0d543e5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,15 @@ jobs:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'

- name: Display any failure logs
- name: Get Application log event
if: always()
run: |
echo "Failure logs:"
cat /Users/runner/.cache/molecule/ansible/default/vagrant.err
Get-WinEvent Application -MaxEvents 30 | Select-Object Message, ProviderName | Format-List
- name: Get System log event
if: always()
run: |
Get-WinEvent System -MaxEvents 30 | Select-Object Message, ProviderName | Format-List
push-release-tag:
name: Push Release Tag
Expand Down

0 comments on commit 0d543e5

Please sign in to comment.