added support for Arch
This commit is contained in:
parent
24b19c93bc
commit
5f68ef1277
|
@ -5,6 +5,7 @@ title = Monitorix
|
|||
hostname = {{ ansible_hostname }}
|
||||
|
||||
<httpd_builtin>
|
||||
enabled = y
|
||||
port = 8185
|
||||
</httpd_builtin>
|
||||
|
||||
|
|
|
@ -18,13 +18,22 @@
|
|||
mode: "0644"
|
||||
owner: root
|
||||
group: root
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Install monitorix deb package
|
||||
- name: Install monitorix deb package (Debian)
|
||||
apt:
|
||||
deb: "/tmp/{{ monitorix_pkg }}"
|
||||
state: present
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Install monitorix AUR package (Arch)
|
||||
kewlfft.aur.aur:
|
||||
name: monitorix
|
||||
state: present
|
||||
become: true
|
||||
become_user: aur_builder
|
||||
when: ansible_os_family == "Archlinux"
|
||||
|
||||
- name: Copy custom config file to /etc/monitorix/conf.d
|
||||
template:
|
||||
src: files/10-ansible-install.conf.j2
|
||||
|
|
Loading…
Reference in New Issue