feat(ssh): ssh daemon name
This commit is contained in:
parent
fcf69ed9d8
commit
cc4e16b795
@ -43,11 +43,18 @@
|
|||||||
tags:
|
tags:
|
||||||
- first_deployement
|
- first_deployement
|
||||||
|
|
||||||
- name: Enable SSH daemon
|
- name: Enable SSH daemon (not Debian)
|
||||||
service:
|
service:
|
||||||
name: sshd
|
name: sshd
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
tags:
|
tags:
|
||||||
- first_deployement
|
- 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