Skip to content

Commit

Permalink
fix: add lsb-core installation
Browse files Browse the repository at this point in the history
  • Loading branch information
miettal committed Dec 8, 2023
1 parent 46add4a commit 078ca7b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions roles/zabbix_proxy/tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
tags:
- always

- name: "Debian | Installing lsb-core"
ansible.builtin.apt:
pkg: lsb-core
update_cache: true
cache_valid_time: 3600
force: true
state: present
environment:
http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}"
https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}"
become: true
tags:
- install

- name: "Debian | Repo URL"
ansible.builtin.set_fact:
zabbix_repo_deb_url: "{{ _zabbix_repo_deb_url }}/{{ ansible_lsb.id.lower() }}{{ '-arm64' if ansible_machine == 'aarch64' and ansible_lsb.id == 'debian' else ''}}"
Expand Down

0 comments on commit 078ca7b

Please sign in to comment.