users.yml: add task to ensure root's .ssh directory exists.

This commit is contained in:
Christoph 2019-07-06 16:21:46 +02:00
parent cb4cb4ad3e
commit 73066ea79e

View File

@ -153,6 +153,11 @@
# - Allow connection via ssh to backup host
# ---
- name: Ensure root's .ssh directory exists
file:
path: /root/.ssh
state: directory
- name: (users.yml) Copy default ed25519 ssh private key to user root
copy:
src: '{{ item.priv_key_src }}'