This commit is contained in:
jaydee 2023-12-12 15:25:23 +01:00
parent 078966b4f7
commit 1a06701eea

View File

@ -13,7 +13,7 @@
ansible.builtin.apt: 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 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: when:
- ansible_facts.architecture != "armv7l" - ansible_facts.architecture != "armv7l" and ansible_distribution == "Ubuntu"
- name: Install a .deb package from the internet - name: Install a .deb package from the internet
ansible.builtin.apt: ansible.builtin.apt:
deb: https://repo.zabbix.com/zabbix/6.4/raspbian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb deb: https://repo.zabbix.com/zabbix/6.4/raspbian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
@ -21,8 +21,13 @@
delay: 5 delay: 5
when: when:
- ansible_facts.architecture == "armv7l" - ansible_facts.architecture == "armv7l"
ignore_errors: true ignore_errors: true
- name: Install a .deb package from the internet
ansible.builtin.apt:
deb: https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian11_all.deb
when:
- ansible_facts.architecture != "armv7l" and ansible_distribution == "Debian"
# - name: Install a .deb package localy # - name: Install a .deb package localy
# ansible.builtin.apt: # ansible.builtin.apt:
# deb: /tmp/zabbix-release_6.4-1+ubuntu22.04_all.deb # deb: /tmp/zabbix-release_6.4-1+ubuntu22.04_all.deb