dj-wasabi / ansible-zabbix-server

Installing and maintaining zabbix-server for RedHat/Debian/Ubuntu.
https://galaxy.ansible.com/dj-wasabi/zabbix-server/
MIT License
176 stars 150 forks source link

New Support For Raspbian? #146

Open sonnyhcl opened 5 years ago

sonnyhcl commented 5 years ago

Is your feature request related to a problem? Please describe. I was trying to set a zabbix server in the raspberry pi and I find zabbix supports Raspian since 3.5, which can be known from both zabbix official doc and its repo

Describe the solution you'd like Now we don't distinguish Raspbian from Debian using ansible_os_family. Maybe it's better to use ansible_lsb[id]

"ansible_lsb": {
        "codename": "stretch", 
        "description": "Raspbian GNU/Linux 9.8 (stretch)", 
        "id": "Raspbian", 
        "major_release": "9", 
        "release": "9.8"
}, 

Additional context The same question also appears in other Project involve "Ubuntu" "Debian" and "Raspbian" and they also suggests using ansible_lsb.codename or ansible_lsb.id` instead.

dj-wasabi commented 5 years ago

Hi @sonnyhcl

If I'm able to create a PR with the change, are you able to test this before I merge it?

sonnyhcl commented 5 years ago

glad to be

dj-wasabi commented 5 years ago

Hi @sonnyhcl

I'm sorry for this very late reply, but what is actually needed to make it work on a Raspbian? Is there maybe a possibility if you can create a PR for this?

Kind regards, Werner