feat(ssh): ssh daemon name
This commit is contained in:
parent
fcf69ed9d8
commit
cc4e16b795
@ -43,11 +43,18 @@
|
||||
tags:
|
||||
- first_deployement
|
||||
|
||||
- name: Enable SSH daemon
|
||||
- name: Enable SSH daemon (not Debian)
|
||||
service:
|
||||
name: sshd
|
||||
state: started
|
||||
enabled: yes
|
||||
tags:
|
||||
- first_deployement
|
||||
when: ansible_distribution != 'Debian'
|
||||
|
||||
- name: Enable SSH daemon (Debian)
|
||||
service:
|
||||
name: ssh
|
||||
state: started
|
||||
enabled: yes
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
Loading…
Reference in New Issue
Block a user