Add package install for openssl-perl

openssl-perl is used to get the directory /etc/pki/CA, which
is needed for cert requests during the deployment.  In OVB
deployments, this package is part of the image and so does not need
to be installed.

In pre-provisioned node environments, we need to document that this
package needs to be installed.  By adding this patch, we ensure that
it is there before we need it for certs.

This of course assumes we're not in some kind of airgapped environment
(which is why its dependent on IdMInstallClientPackages).  In that case,
we need to continue to doc what must be there.

Change-Id: I7fe5404144f7a75a5a1c257ceef9593719ac5dbc
This commit is contained in:
Ade Lee 2020-09-03 15:19:21 -04:00
parent 6b53c9414a
commit bc0ab07c59
1 changed files with 6 additions and 0 deletions

View File

@ -141,6 +141,12 @@ outputs:
stat:
path: /etc/ipa/default.conf
register: ipa_conf_exists
- name: install openssl-perl
package:
name: openssl-perl
state: present
when:
- ipaclient_install_packages|bool
- block:
- name: register as an ipa client
import_role: