Add new Package examples to main

Print debug line with module arguments when run starts
Make apt package manager non-interactive
Move PackageList to dedicated module and make more impls
utils::Cmd now can take environment variables
This commit is contained in:
selfhoster selfhoster 2023-04-20 18:31:45 +02:00
commit 1245db813b
7 changed files with 115 additions and 147 deletions

View file

@ -79,6 +79,7 @@ impl PlaybookRun {
let module_name = cmd.module_name().to_string();
let args = cmd.serialize_args();
println!("Running module {} with args:{:#?}\n\n", &module_name, &args);
let res = cmd.run();