From 5a8ce9044ea8abdcd1942618ce159bdb7fcc0bbc Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Mon, 28 Sep 2020 11:58:23 +0200 Subject: [PATCH] remove check ssh root --- eval.sh | 1 - eval.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/eval.sh b/eval.sh index 22a7152..b034513 100644 --- a/eval.sh +++ b/eval.sh @@ -9,5 +9,4 @@ fileMustContain /etc/passwd "epsi" fileMustContain /etc/shadow "epsi" fileMustExist /srv/inventaire.txt fileMustContain ~root/.bash_history vi -fileMustContain /etc/ssh/sshd_config "permitrootlogin no" pkgInstalled sudo diff --git a/eval.yml b/eval.yml index 6616787..c108c9b 100644 --- a/eval.yml +++ b/eval.yml @@ -10,7 +10,7 @@ - name: insert header lineinfile: path: "{{ result_file }}" - line: "machine\tuser\tmotd\tuser epsi\tpassword epsi\tinventaire reseau\tpractice done\tssh root off\tsudo installed" + line: "machine\tuser\tmotd\tuser epsi\tpassword epsi\tinventaire reseau\tpractice done\tsudo installed" state: present create: true delegate_to: localhost