Handlers are always run in the order in which they're defined, so it
makes sense to put the rules which rebuild configuration files above the
rules which restart services.
+###--------------------------------------------------------------------------
+### Rebuliding remote configuration files.
+
+- name: make in /root/.ssh/
+ command: make chdir=/root/.ssh/
+
###--------------------------------------------------------------------------
### Restarting services in obvious ways.
###--------------------------------------------------------------------------
### Restarting services in obvious ways.
- name: restart ssh
service: name=ssh state=restarted
- 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 --------------------------------------------------
###----- That's all, folks --------------------------------------------------