From 8bf9197c197413b4f5f12da758234a083b90a975 Mon Sep 17 00:00:00 2001 From: Diana-Maria Dumitru Date: Wed, 14 Feb 2024 10:21:36 +0200 Subject: [PATCH] Fixing fail message so that is states the correct number of the rule that requires the root password to be set Signed-off-by: Diana-Maria Dumitru --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 678c65a..4409349 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,7 +31,7 @@ - name: Ensure root password is set ansible.builtin.assert: that: root_passwd_set.rc == 0 - fail_msg: "You have rule 5.6.6 enabled this requires that you have a root password set" + fail_msg: "You have rule 4.6.6 enabled this requires that you have a root password set" success_msg: "You have a root password set" tags: - level1-server