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