roles/common/tasks/main.yml: Missing brackets around tags list.
[distorted-ansible] / roles / common / tasks / main.yml
index e740eaa..42bc86c 100644 (file)
@@ -47,7 +47,7 @@
 ### Network databases.
 
 - name: install netdb files
-  tags: netdb
+  tags: [netdb]
   copy: src=netdb/{{ item }} dest=/etc/
   with_items:
     - hosts
 - name: install SSH configuration files
   tags: [ssh, ssh-config]
   copy: src=ssh-config/{{ item }} dest=/etc/ssh/
-  notify: restart ssh
+  notify:
+    - make in /etc/ssh/
+    - restart ssh
   with_items:
     - Makefile
     - ssh_config
     - 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