opensuse: move package installation to system_packages

No reason to special case
This commit is contained in:
Max Gautier
2025-05-19 17:49:29 +02:00
parent 2152022926
commit d5b2a9b5ba
4 changed files with 12 additions and 30 deletions

View File

@@ -55,31 +55,3 @@
become: true
tags:
- facts
# Without this package, the get_url module fails when trying to handle https
- name: Install python-cryptography
community.general.zypper:
name: python-cryptography
state: present
update_cache: true
become: true
when:
- ansible_distribution_version is version('15.4', '<')
- name: Install python3-cryptography
community.general.zypper:
name: python3-cryptography
state: present
update_cache: true
become: true
when:
- ansible_distribution_version is version('15.4', '>=')
# Nerdctl needs some basic packages to get an environment up
- name: Install basic dependencies
community.general.zypper:
name:
- iptables
- apparmor-parser
state: present
become: true