mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-09 18:35:49 +02:00
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
- name: Get config for nas
|
- name: Get config for nas
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
zabbix_agent_cfg: "/opt/ZabbixAgent/etc/zabbix_agentd.conf"
|
zabbix_agent_cfg: "/opt/ZabbixAgent/etc/zabbix_agent2.conf"
|
||||||
when: inventory_hostname == 'nas.home.lan'
|
when: inventory_hostname == 'nas.home.lan'
|
||||||
|
|
||||||
- name: Print all available facts
|
- name: Print all available facts
|
||||||
@ -28,9 +28,9 @@
|
|||||||
# ansible.builtin.copy:
|
# ansible.builtin.copy:
|
||||||
# src: packages/zabbix-release_6.4-1+ubuntu22.04_all.deb
|
# src: packages/zabbix-release_6.4-1+ubuntu22.04_all.deb
|
||||||
# dest: /tmp/
|
# dest: /tmp/
|
||||||
- name: Install a .deb package from the internet111
|
- name: Install a .deb package from the Ubuntu
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
deb: hhttps://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu24.04_all.deb
|
deb: https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu24.04_all.deb
|
||||||
when:
|
when:
|
||||||
- ansible_facts.architecture != "armv7l" and ( ansible_distribution == "Ubuntu" or ansible_distribution == "Linux Mint" )
|
- ansible_facts.architecture != "armv7l" and ( ansible_distribution == "Ubuntu" or ansible_distribution == "Linux Mint" )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user