Skip to content

Commit fe57763

Browse files
committed
use "sos report", not "sosreport" to generate a sos report
On EL9, calling `sosreport` just prints ``` sosreport binary is deprecated, use 'sos report' instead ``` And doesn't generate any report. Using `sos report` as suggested works, and that also works on Debian (where calling `sosreport` still works -- with a deprecation warning).
1 parent 9ab0b0a commit fe57763

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

roles/sos_report/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
state: present
99

1010
- name: 'Generate sosreport'
11-
command: "sosreport --batch --tmp-dir={{ sosreport_output_dir }}"
11+
command: "sos report --batch --tmp-dir={{ sosreport_output_dir }}"
1212
ignore_errors: true
1313

1414
- include_tasks: 'sosreport_fetch_results.yml'

0 commit comments

Comments
 (0)