From 07c9f9f4ca453ff38f22943a318fe4fcf6250476 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 28 Dec 2020 21:41:43 -0600 Subject: [PATCH] Remove colors from Lynis output. --- tasks/hardness_check_lynis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/hardness_check_lynis.yml b/tasks/hardness_check_lynis.yml index 2362bf8..5a27db1 100644 --- a/tasks/hardness_check_lynis.yml +++ b/tasks/hardness_check_lynis.yml @@ -6,7 +6,7 @@ force: yes - name: Run Lynis Audit System - shell: /usr/local/lynis/lynis audit system > "{{ lynis_report }}" 2>&1 + shell: /usr/local/lynis/lynis --no-colors audit system > "{{ lynis_report }}" 2>&1 - name: Make Lynis Report Readable shell: chmod 444 "{{ lynis_report }}" \ No newline at end of file