roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
[distorted-ansible] / roles / common / handlers / main.yml
index e8fc66e..32a8195 100644 (file)
@@ -1,6 +1,19 @@
+### -*-yaml-*-
+###
+### Handlers, mostly for kicking services.
+
 ---
 
 ###--------------------------------------------------------------------------
+### Rebuliding remote configuration files.
+
+- name: make in /etc/ssh/
+  command: make chdir=/etc/ssh/
+
+- name: make in /root/.ssh/
+  command: make chdir=/root/.ssh/
+
+###--------------------------------------------------------------------------
 ### Restarting services in obvious ways.
 
 - name: restart ntpd