mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
sosreport plugin docs recommend add_cmd_output
This commit is contained in:
@@ -38,10 +38,7 @@ if LooseVersion(sos.__version__) >= LooseVersion('3.0'):
|
|||||||
self.add_copy_spec(path)
|
self.add_copy_spec(path)
|
||||||
|
|
||||||
for command in commands:
|
for command in commands:
|
||||||
if hasattr(self, 'add_cmd_output'):
|
self.add_cmd_output(command)
|
||||||
self.add_cmd_output(command)
|
|
||||||
else:
|
|
||||||
self.collect_ext_output(command)
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
import sos.plugintools
|
import sos.plugintools
|
||||||
|
|||||||
Reference in New Issue
Block a user