diff --git a/plugins/modules/java_cert.py b/plugins/modules/java_cert.py index 2a2cd590be..4e866469dc 100644 --- a/plugins/modules/java_cert.py +++ b/plugins/modules/java_cert.py @@ -120,6 +120,30 @@ options: attributes: version_added: 8.5.0 requirements: [openssl, keytool] +installable_requirements: + - name: Java keytool + blocks: + - system: + - openjdk11-jre-headless + when: ansible_facts.os_family == 'Alpine' + - system: + - java-11-openjdk-headless + when: ansible_facts.os_family in ['RedHat', 'Suse'] + - system: + - jre11-openjdk-headless + when: ansible_facts.os_family == 'Archlinux' + - system: + - ca-certificates-java + when: ansible_facts.distribution == 'Debian' and ansible_facts.distribution_major_version | int < 12 + - system: + - ca-certificates-java + - openjdk-17-jre-headless + when: ansible_facts.os_family == 'Debian' + - name: OpenSSL + blocks: + - system: + - openssl + when: true author: - Adam Hamsik (@haad) """ diff --git a/plugins/modules/ufw.py b/plugins/modules/ufw.py index aa9e7d8d31..ace51cae5e 100644 --- a/plugins/modules/ufw.py +++ b/plugins/modules/ufw.py @@ -32,6 +32,11 @@ attributes: support: full diff_mode: support: none +installable_requirements: + - name: ufw firewall + blocks: + - system: + - ufw options: state: description: