Files
gitlab-mirror/roles/rustdesk/tasks/install-unzip.yml
2025-12-17 11:20:05 +03:00

31 lines
842 B
YAML

---
- name: "Install unzip for unarchiving the binaries archive on Debian family"
when: ansible_os_family == "Debian"
ansible.builtin.apt:
name: unzip
state: present
update_cache: true
- name: "Install unzip for unarchiving the binaries archive on RedHat family"
when: ansible_os_family == "RedHat"
ansible.builtin.dnf:
name: unzip
state: present
- name: "Install unzip for unarchiving the binaries archive on FreeBSD family"
when: ansible_os_family == "FreeBSD"
community.general.pkgng:
name: unzip
state: present
- name: "Install unzip for unarchiving the binaries archive on other OS"
when:
- ansible_os_family != "Debian"
- and ansible_os_family != "RedHat"
- and ansible_os_family != "FreeBSD"
ansible.builtin.package:
name: unzip
state: present
update_cache: true