]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add the handlers to bounce nginx
authorAlfredo Deza <adeza@redhat.com>
Tue, 7 Jul 2015 13:25:23 +0000 (09:25 -0400)
committerAlfredo Deza <adeza@redhat.com>
Fri, 17 Jul 2015 21:23:26 +0000 (17:23 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ansible/master/ansible-jenkins/handlers/main.yml

index f1f81907ebf5bdd50f1503b12b41507799848072..728f7189207c467715a4282bbc4bfbd48f680248 100644 (file)
@@ -1,8 +1,9 @@
 # Safe-restart Jenkins
-- name: Restart Jenkins
+- name: restart jenkins
   sudo: yes
   command: java -jar {{ jenkins.cli_dest }} -s http://localhost:{{ port }} safe-restart
 
-- name: Restart Nginx
+- name: restart nginx
   sudo: yes
-  command: service nginx restart
+  action: service name=nginx state=restarted
+  #command: service nginx restart