From d0e668e007325339cb3e642a83c543e5a2f7cda5 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 13 Jul 2015 10:45:58 +0100 Subject: [PATCH] roles/common/handlers/main.yml: Move `make' handlers to the top. 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. --- roles/common/handlers/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/common/handlers/main.yml b/roles/common/handlers/main.yml index bf0b933..9f6624d 100644 --- a/roles/common/handlers/main.yml +++ b/roles/common/handlers/main.yml @@ -5,6 +5,12 @@ --- ###-------------------------------------------------------------------------- +### Rebuliding remote configuration files. + +- name: make in /root/.ssh/ + command: make chdir=/root/.ssh/ + +###-------------------------------------------------------------------------- ### Restarting services in obvious ways. - name: restart ntpd @@ -13,10 +19,4 @@ - 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 -------------------------------------------------- -- 2.11.0