Skip to content

Commit

Permalink
test: execute dmesg task as privileged user
Browse files Browse the repository at this point in the history
  • Loading branch information
mcattamoredhat authored and mvo5 committed May 29, 2024
1 parent 580903f commit cab72ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/data/ansible/check_ostree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
# case: check dmesg error and failed log
- name: check dmesg output
command: dmesg
become: yes
register: result_dmesg

- name: save dmesg output to log file
Expand All @@ -517,6 +518,7 @@
- name: check dmesg error and fail log
shell: dmesg --notime | grep -i "error\|fail" || true
register: result_dmesg_error
become: yes

- name: check embeded container image with podman
command: podman images
Expand Down

0 comments on commit cab72ff

Please sign in to comment.