Ansible-Roles/roles/openssh/handlers/main.yml
Alexander Kazantsev 7ab93a673b deploy openssh
2026-05-12 18:38:21 +03:00

10 lines
210 B
YAML

---
# Copyright (c) 2025 Gravitino LLC
# MIT License
- name: restart openssh
ansible.builtin.systemd:
name: "{{ 'sshd' if ansible_os_family == 'RedHat' else 'ssh' }}"
state: restarted
become: true