]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Create /root/.ssh before putting keys there
authorZack Cerza <zack@redhat.com>
Tue, 23 Jun 2015 19:30:59 +0000 (13:30 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 29 Jun 2015 22:37:08 +0000 (16:37 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
roles/cobbler/tasks/main.yml

index b732767b3b5c6bbed321364ed85e3bcc6d8c0f13..34c34e12f1841d17450c1554969d9ebdce329cdd 100644 (file)
@@ -5,6 +5,9 @@
   tags:
     - vars
 
+- name: Create /root/.ssh
+  file: path=/root/.ssh mode=700 state=directory
+
 - name: Write cobbler keys
   copy: content="{{ item.data }}" dest="{{ item.path }}" mode=600
   with_items: cobbler_keys["{{ ansible_hostname}}"]