upt playbook

This commit is contained in:
jaydee 2023-10-24 12:32:11 +02:00
parent fdb12edb1a
commit 8b38ff5f9c

View File

@ -2,16 +2,16 @@
name: Install zabbix agent
become: true
tasks:
- name: Upload zabbix package
ansible.builtin.copy:
src: packages/zabbix-release_6.4-1+ubuntu22.04_all.deb
dest: /tmp/
# - name: Install a .deb package from the internet
# 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
- name: Install a .deb package localy
# - name: Upload zabbix package
# ansible.builtin.copy:
# src: packages/zabbix-release_6.4-1+ubuntu22.04_all.deb
# dest: /tmp/
- name: Install a .deb package from the internet
ansible.builtin.apt:
deb: /tmp/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
# - name: Install a .deb package localy
# ansible.builtin.apt:
# deb: /tmp/zabbix-release_6.4-1+ubuntu22.04_all.deb
- name: Install zabbix packages
ansible.builtin.apt:
name: