chiark / gitweb /
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 9f6624d60dc431e2c56775f34bcbd7d73d02feee..32a8195438b109f40e7fbbcc0431677de27c058c 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 d6258e7300c27c81301c020ccd1286e0b9424a2b..bd15a34f584d6fa71d17dea786acb5ea8bec19aa 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