github.com/wanliu/go-oauth2-server@v0.0.0-20180817021415-f928fa1580df/ansible/roles/web/handlers/main.yml (about) 1 --- 2 # Handler for the webtier: handlers are called by other plays. 3 # See http://docs.ansible.com/playbooks_intro.html for more information about handlers. 4 5 - name: kill oauth2-server 6 action: shell pkill oauth2-server 7 ignore_errors: yes 8 9 - name: start oauth2-server 10 raw: cd /usr/src/app/oauth2-server; nohup ./oauth2-server-linux runserver & sleep 1 11 ignore_errors: yes