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