chiark / gitweb /
roles/common/*/main.yml: Rebuild /etc/ssh/sshd_config on change.
[distorted-ansible] / roles / common / handlers / main.yml
index bf0b9332d3a926acd2f940fd9e787ec0b4a2c822..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 --------------------------------------------------