This commit is contained in:
t3chn0m4g3
2023-06-26 18:10:39 +02:00
parent 25eea5b9ab
commit 72502ebbe6

View File

@ -300,7 +300,7 @@
- name: Restart SSH
service:
name: "{{ 'sshd' if ansible_distribution == 'Debian' else 'ssh' }}"
name: "{{ 'sshd' if ansible_distribution == 'Debian|openSUSE Tumbleweed' else 'ssh' }}"
state: restarted
enabled: true
when: ansible_distribution in ["Debian", "Fedora", "openSUSE Tumbleweed", "Ubuntu"]