roles/common/tasks/main.yml: Explicitly create /root/.ssh/.
[distorted-ansible] / roles / common / tasks / main.yml
index e740eaa..d6258e7 100644 (file)
     - sshd_config.m4
     - moduli
 
+- name: "create root's .ssh/ directory"
+  tags: [ssh, ssh-root]
+  file: path=/root/.ssh/ state=directory mode=0750
+
 - name: install main keys for root SSH access
   tags: [ssh, ssh-root]
   template: src=ssh-root/authkeys.base dest=/root/.ssh/authkeys.base