mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-13 11:48:09 +00:00
tweaking
This commit is contained in:
parent
4df54390dc
commit
38b1e99673
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@
|
||||||
|
|
||||||
- name: Restart SSH
|
- name: Restart SSH
|
||||||
service:
|
service:
|
||||||
name: "{{ 'sshd' if ansible_distribution == 'Debian|openSUSE Tumbleweed' else 'ssh' }}"
|
name: "{{ 'sshd' if ansible_distribution == 'Debian|Fedora|openSUSE Tumbleweed' else 'ssh' }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: true
|
enabled: true
|
||||||
when: ansible_distribution in ["Debian", "Fedora", "openSUSE Tumbleweed", "Ubuntu"]
|
when: ansible_distribution in ["Debian", "Fedora", "openSUSE Tumbleweed", "Ubuntu"]
|
||||||
|
|
Loading…
Reference in a new issue