chiark / gitweb /
roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
[distorted-ansible] / roles / common / handlers / main.yml
index 1b35e241d5c8c02c23cad75470c12f1eec925c48..32a8195438b109f40e7fbbcc0431677de27c058c 100644 (file)
@@ -4,6 +4,15 @@
 
 ---
 
+###--------------------------------------------------------------------------
+### 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 ssh
   service: name=ssh state=restarted
 
-###--------------------------------------------------------------------------
-### Rebuliding remote configuration files.
-
-- name: make in /root/.ssh
-  command: make chdir=/root/.ssh
-
 ###----- That's all, folks --------------------------------------------------