12345678910111213141516171819202122 |
- ---
- # configure node-stats for respondd
- - name: Clone node-stats repo for respondd.
- git:
- repo: https://github.com/FreiFunkMuenster/node-stats.git
- dest: /opt/node-stats
- version: respondd
- force: yes
- - name: Deploy update.sh script
- template:
- src: update.sh.j2
- dest: /opt/node-stats/update.sh
- mode: "u+x,g+x"
- - name: Define cron for node-stats.
- cron:
- name: "node-stats"
- minute: "*"
- job: "/opt/node-stats/update.sh >/dev/null 2>&1"
|