chiark / gitweb /
roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
[distorted-ansible] / roles / common / handlers / main.yml
index e8fc66e37e4c0f8632ff4ccfb9692a79d4598820..32a8195438b109f40e7fbbcc0431677de27c058c 100644 (file)
@@ -1,5 +1,18 @@
+### -*-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.