Add monitoring to ansible

This commit is contained in:
Ubergeek
2019-02-07 00:59:16 +00:00
parent e5f9779a92
commit fa95cddd34
6 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/bash
/var/lib/monitoring/monurbox

View File

@@ -8,3 +8,4 @@
- include: motd.yml
- include: ansible-pull.yml
- include: manpage.yml
- include: monitoring.yml

View File

@@ -1,4 +1,4 @@
- name: Adding ansible git repo locally
- name: Adding manpage git repo locally
git:
repo: 'https://tildegit.org/thunix/documentation.git'
dest: /usr/local/man/man8

View File

@@ -0,0 +1,11 @@
- name: Adding monitoring git repo locally
git:
repo: 'https://tildegit.org/thunix/monurbox.git'
dest: /var/lib/monitoring
me: Add monitoring cron job
copy:
src: ../files/monitoring
dest: /etc/cron.hourly/monitoring
owner: root
mode: 744