mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-19 17:01:25 -07:00
Add requirements to two modules.
This commit is contained in:
parent
4eab1a9062
commit
69d67b5533
2 changed files with 29 additions and 0 deletions
|
@ -99,6 +99,30 @@ options:
|
|||
choices: [ absent, present ]
|
||||
default: present
|
||||
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)
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue