9f6624d60dc431e2c56775f34bcbd7d73d02feee
[distorted-ansible] / roles / common / handlers / main.yml
1 ### -*-yaml-*-
2 ###
3 ### Handlers, mostly for kicking services.
4
5 ---
6
7 ###--------------------------------------------------------------------------
8 ### Rebuliding remote configuration files.
9
10 - name: make in /root/.ssh/
11 command: make chdir=/root/.ssh/
12
13 ###--------------------------------------------------------------------------
14 ### Restarting services in obvious ways.
15
16 - name: restart ntpd
17 service: name=ntp state=restarted
18
19 - name: restart ssh
20 service: name=ssh state=restarted
21
22 ###----- That's all, folks --------------------------------------------------