roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 13 Jul 2015 09:47:00 +0000 (10:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 13 Jul 2015 09:47:00 +0000 (10:47 +0100)
Just an oversight, I think.

roles/common/handlers/main.yml
roles/common/tasks/main.yml

index 9f6624d..32a8195 100644 (file)
@@ -7,6 +7,9 @@
 ###--------------------------------------------------------------------------
 ### Rebuliding remote configuration files.
 
+- name: make in /etc/ssh/
+  command: make chdir=/etc/ssh/
+
 - name: make in /root/.ssh/
   command: make chdir=/root/.ssh/
 
index d6258e7..bd15a34 100644 (file)
@@ -60,7 +60,9 @@
 - 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