d
This commit is contained in:
parent
725385600e
commit
e6175f9b46
2 changed files with 10 additions and 3 deletions
|
@ -10,6 +10,12 @@
|
|||
src: /etc/munin/apache.conf
|
||||
dest: /etc/apache2/sites-available/000-default.conf
|
||||
|
||||
- name: Template logrotate config
|
||||
ansible.builtin.template:
|
||||
src: logrotate
|
||||
dest: /etc/logrotate.d/munin
|
||||
|
||||
|
||||
- name: Ensure needed dirs exists
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
|
@ -31,11 +37,9 @@
|
|||
mode: '0755'
|
||||
loop: "{{ munin_server_plugins }}"
|
||||
|
||||
COPY run.sh /usr/local/bin/run
|
||||
|
||||
chmod +x /usr/local/bin/run
|
||||
|
||||
COPY logrotate-munin /etc/logrotate.d/munin
|
||||
COPY logrotate-munin
|
||||
COPY munin.conf /etc/munin/munin.conf
|
||||
COPY munin-node.conf /etc/munin/munin-node.conf
|
||||
COPY ssmtp.conf /etc/ssmtp/ssmtp.conf
|
||||
|
@ -45,3 +49,6 @@ COPY munin_mail.conf /etc/munin/munin-conf.d/munin_mail.conf
|
|||
|
||||
# launcher
|
||||
CMD ["/usr/local/bin/run"]
|
||||
COPY run.sh /usr/local/bin/run
|
||||
|
||||
chmod +x /usr/local/bin/run
|
||||
|
|
Loading…
Reference in a new issue