mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-23 09:00:19 +01:00
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:
parent
bcd864fea4
commit
951df8c65b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue