Ensure run directory exists

This is usually also done in service scripts during startup but those
aren't always used in containers.  Doesn't hurt ensuring it here.
This commit is contained in:
jitakirin 2015-06-25 15:13:10 +01:00
parent bcd864fea4
commit 951df8c65b

View file

@ -23,6 +23,14 @@
tags:
- sshd
- name: Run directory
file:
path: /var/run/sshd
state: directory
mode: 0755
tags:
- sshd
- name: Configuration
template:
src: sshd_config.j2