some more minor shit

This commit is contained in:
iRaven 2024-04-28 20:09:13 -05:00
parent 1c7dc3ff86
commit 60a5718c10

View File

@ -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
state: absent