From aeff5f6cd980996f4c284ea7a6114873ae2715fc Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 26 Mar 2024 23:18:49 +0100 Subject: [PATCH] less annotations --- templates/book.jinja | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/templates/book.jinja b/templates/book.jinja index c920537..2d9f3c7 100644 --- a/templates/book.jinja +++ b/templates/book.jinja @@ -220,23 +220,15 @@ user_deleted : {{ user_deleted }} {% if groups_created|length > 0 %}

tldr@chopchop:~ $sudo journalctl _COMM=groupadd -r --output-fields=MESSAGE

- - This command shows whether groups were added today. - - {{ log_output(groups_created) }} - These new working groups were added today. They might be used for creating new projects, maintaining or - managing parts of the server, or for organizational purposes. - + These new working groups were added today. They might be used for creating new projects, maintaining or + managing parts of the server, or for organizational purposes. + {% endif %} {% if groups_removed|length > 0 %}

tldr@chopchop:~ $sudo journalctl _COMM=grouPremove -r --output-fields=MES

- - This command shows whether groups were removed today. - - {{ log_output(groups_removed) }} @@ -247,9 +239,6 @@ user_deleted : {{ user_deleted }} {% if user_modified|length > 0 %}

tldr@chopchop:~ $sudo journalctl _COMM=usermod -r

- - This command shows whether users were modified today. - {{ log_output(user_modified) }} @@ -262,9 +251,6 @@ user_deleted : {{ user_deleted }} {% if user_deleted|length > 0 %}

tldr@chopchop:~ $sudo journalctl _COMM=userdel -r

- - This command shows whether users were removed today. - {{ log_output(user_deleted) }}