mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 21:40:17 +00:00
Add monitoring to ansible
This commit is contained in:
3
roles/common/files/monitoring
Normal file
3
roles/common/files/monitoring
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/var/lib/monitoring/monurbox
|
||||
@@ -8,3 +8,4 @@
|
||||
- include: motd.yml
|
||||
- include: ansible-pull.yml
|
||||
- include: manpage.yml
|
||||
- include: monitoring.yml
|
||||
|
||||
@@ -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
|
||||
|
||||
11
roles/common/tasks/monitoring.yml
Normal file
11
roles/common/tasks/monitoring.yml
Normal 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
|
||||
@@ -27,6 +27,8 @@
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
#- name: Install znc user script
|
||||
# copy:
|
||||
# src: ../files/var/lib/znc/create-znc_account.sh
|
||||
|
||||
6
roles/shell/vars/test.yml
Normal file
6
roles/shell/vars/test.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
35353532613437613564306231303332653632323963336137336261633535336437323366616231
|
||||
3533383438373531633635623335336363643236656565320a653963636434646234323031323839
|
||||
62646431336663373538356232316465383261356663363862303934366138393034626434376539
|
||||
3230343834663831320a643639613336383134633863643137323637393934376235653361306235
|
||||
32303662303061346536303636616334333131313432306262643064393365666337
|
||||
Reference in New Issue
Block a user