|
|
@ -112,12 +112,9 @@ output = template.render(
|
|
|
|
kitchen_services = kitchen_services,
|
|
|
|
kitchen_services = kitchen_services,
|
|
|
|
ip_address = ip_address,
|
|
|
|
ip_address = ip_address,
|
|
|
|
logins_today = run_command(['grep', '-v', "Boot"], based=logins_today_log.stdout).splitlines(),
|
|
|
|
logins_today = run_command(['grep', '-v', "Boot"], based=logins_today_log.stdout).splitlines(),
|
|
|
|
list_groups = run_command(["getent","group"]).splitlines(),
|
|
|
|
|
|
|
|
list_active_services = run_command(["sudo", "service", "--status-all"]).splitlines(),
|
|
|
|
list_active_services = run_command(["sudo", "service", "--status-all"]).splitlines(),
|
|
|
|
debian_version = run_command(["cat", "/etc/debian_version"]),
|
|
|
|
debian_version = run_command(["cat", "/etc/debian_version"]) if time_ago_arg else False,
|
|
|
|
kernel_version = run_command(["uname","-a"]),
|
|
|
|
hostname = run_command(["hostname","-i"]) if time_ago_arg else False,
|
|
|
|
hostname = run_command(["hostname","-i"]),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
groups_created = run_command(['grep', '-v', "Boot"], based=groupadd_today_log.stdout).splitlines(),
|
|
|
|
groups_created = run_command(['grep', '-v', "Boot"], based=groupadd_today_log.stdout).splitlines(),
|
|
|
|
groups_removed = run_command(['grep', '-v', "Boot"], based=groupremove_today_log.stdout).splitlines(),
|
|
|
|
groups_removed = run_command(['grep', '-v', "Boot"], based=groupremove_today_log.stdout).splitlines(),
|
|
|
|
user_modified = run_command(['grep', '-v', "Boot"], based=usermod_today_log.stdout).splitlines(),
|
|
|
|
user_modified = run_command(['grep', '-v', "Boot"], based=usermod_today_log.stdout).splitlines(),
|
|
|
|