mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-15 07:50:18 +01:00
15 lines
331 B
YAML
15 lines
331 B
YAML
---
|
|
- name: Make sure openssh is installed before creating backup
|
|
package:
|
|
name: openssh-server
|
|
state: present
|
|
|
|
- name: Make sure openssh has runtime directory on debian
|
|
file:
|
|
path: /run/sshd
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
when:
|
|
- ansible_facts['os_family'] == 'Debian'
|