From f64aba0a0cce17ab4ea753cdbf4b372ed38ec8c0 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 21 May 2013 20:19:59 +0000 Subject: [PATCH] add a notify for fas.conf update to trigger fasclient -i --- handlers/restart_services.yml | 3 ++- tasks/fas_client.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index 5cdda5cd4f..8b66e3eba7 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -74,4 +74,5 @@ - name: restart xinetd action: service name=xinetd state=restarted - +- name: run fasclient + action: command /usr/bin/fasClient -i diff --git a/tasks/fas_client.yml b/tasks/fas_client.yml index a81bd443a2..2d92dd26e0 100644 --- a/tasks/fas_client.yml +++ b/tasks/fas_client.yml @@ -52,6 +52,8 @@ - $files/fas-client/fas.conf.j2 tags: - config + notify: + - run fasclient # # setup /etc/cron.d/ file to run sync every 10min