Disables SSH access for root on demand

This commit is contained in:
Jan Beilicke 2023-12-11 18:36:27 +01:00
parent a550c49dec
commit 177ba579e9
3 changed files with 44 additions and 3 deletions

View file

@ -1,2 +1,7 @@
---
# handlers file for common
# handlers file for common
- name: Restart SSH
ansible.builtin.service:
name: ssh
state: restarted
become: true