UpdateServersPlaybook/roles/security/handlers/main.yml

8 lines
167 B
YAML
Raw Permalink Normal View History

2024-07-12 20:15:19 +02:00
- name: Restart service ssh
become: true
ansible.builtin.service:
name: sshd
state: restarted
ansible.builtin.service:
name: ssh
state: restarted