Add monitoring to ansible
This commit is contained in:
parent
e5f9779a92
commit
fa95cddd34
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
/var/lib/monitoring/monurbox
|
|
@ -8,3 +8,4 @@
|
||||||
- include: motd.yml
|
- include: motd.yml
|
||||||
- include: ansible-pull.yml
|
- include: ansible-pull.yml
|
||||||
- include: manpage.yml
|
- include: manpage.yml
|
||||||
|
- include: monitoring.yml
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- name: Adding ansible git repo locally
|
- name: Adding manpage git repo locally
|
||||||
git:
|
git:
|
||||||
repo: 'https://tildegit.org/thunix/documentation.git'
|
repo: 'https://tildegit.org/thunix/documentation.git'
|
||||||
dest: /usr/local/man/man8
|
dest: /usr/local/man/man8
|
||||||
|
|
|
@ -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]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
|
||||||
#- name: Install znc user script
|
#- name: Install znc user script
|
||||||
# copy:
|
# copy:
|
||||||
# src: ../files/var/lib/znc/create-znc_account.sh
|
# src: ../files/var/lib/znc/create-znc_account.sh
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
35353532613437613564306231303332653632323963336137336261633535336437323366616231
|
||||||
|
3533383438373531633635623335336363643236656565320a653963636434646234323031323839
|
||||||
|
62646431336663373538356232316465383261356663363862303934366138393034626434376539
|
||||||
|
3230343834663831320a643639613336383134633863643137323637393934376235653361306235
|
||||||
|
32303662303061346536303636616334333131313432306262643064393365666337
|
Loading…
Reference in New Issue