From 60a5718c1096a6eebe260f235b2e578fc79f7a90 Mon Sep 17 00:00:00 2001 From: iRaven4522 Date: Sun, 28 Apr 2024 20:09:13 -0500 Subject: [PATCH] some more minor shit --- linux/compliance.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux/compliance.yaml b/linux/compliance.yaml index 8aaee90..9ea5a7b 100644 --- a/linux/compliance.yaml +++ b/linux/compliance.yaml @@ -73,12 +73,11 @@ line: "PermitRootLogin no" - name: Restart SSH service. service: - name: sshd + name: ssh state: restarted # Delete our network ansible key from the root user. - name: Delete our network ansible key (and other keys) from the root user. file: path: /root/.ssh/authorized_keys - state: absent - ignore_errors: yes \ No newline at end of file + state: absent \ No newline at end of file