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

View File

@ -27,6 +27,8 @@
[Install]
WantedBy=multi-user.target
#- name: Install znc user script
# copy:
# src: ../files/var/lib/znc/create-znc_account.sh

View File

@ -0,0 +1,6 @@
$ANSIBLE_VAULT;1.1;AES256
35353532613437613564306231303332653632323963336137336261633535336437323366616231
3533383438373531633635623335336363643236656565320a653963636434646234323031323839
62646431336663373538356232316465383261356663363862303934366138393034626434376539
3230343834663831320a643639613336383134633863643137323637393934376235653361306235
32303662303061346536303636616334333131313432306262643064393365666337