diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index 31eeaf4..821ffb7 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -22,6 +22,12 @@ - name: Print all available facts ansible.builtin.debug: var: ansible_facts.architecture + - name: Print all available facts + ansible.builtin.debug: + var: ansible_distribution + - name: Print all available facts + ansible.builtin.debug: + var: ansible_distribution_major_version # - name: Upload zabbix package # ansible.builtin.copy: # src: packages/zabbix-release_6.4-1+ubuntu22.04_all.deb @@ -30,7 +36,7 @@ ansible.builtin.apt: deb: https://repo.zabbix.com/zabbix/6.4/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb when: - - ansible_facts.architecture != "armv7l" and ansible_distribution == "Ubuntu" + - ansible_facts.architecture != "armv7l" and ( ansible_distribution == "Ubuntu" or ansible_distribution == "Linux Mint" ) - name: Install a .deb package from the internet2 ansible.builtin.apt: