File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,14 +97,18 @@ def setup(self):
9797 # Collect AAP container names
9898 aap_containers = self ._get_aap_container_names (username )
9999
100- # Copy podman container log files in plugin sub directory
101- # under aap_containers_log
100+ # Copy podman container log and inspect files
101+ # into their respective sub directories
102102 for container in aap_containers :
103- log_file = f"{ container } .log"
104103 self .add_cmd_output (
105104 f"su - { username } -c 'podman logs { container } '" ,
106- suggest_filename = f"{ log_file } " ,
107- subdir = "aap_containers_log"
105+ suggest_filename = f"{ container } .log" ,
106+ subdir = "aap_container_logs"
107+ )
108+ self .add_cmd_output (
109+ f"su - { username } -c 'podman inspect { container } '" ,
110+ suggest_filename = container ,
111+ subdir = "podman_inspect_logs"
108112 )
109113
110114 if "automation-controller-task" in aap_containers :
You can’t perform that action at this time.
0 commit comments