From 5b943933593f95bc61200b85d217f7c4f91174e9 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 28 Dec 2020 21:19:01 -0600 Subject: [PATCH] I guess command and shell hate having an FQCN. Now need to output the results. --- tasks/hardness_check_lynis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/hardness_check_lynis.yml b/tasks/hardness_check_lynis.yml index a868f67..ee729e1 100644 --- a/tasks/hardness_check_lynis.yml +++ b/tasks/hardness_check_lynis.yml @@ -6,4 +6,9 @@ force: yes - name: Run Lynis - command: /usr/local/lynis/lynis audit system \ No newline at end of file + command: /usr/local/lynis/lynis audit system + register: lynis_report + +- name: Lynis Report + debug: + var: lynis_report \ No newline at end of file