linux-system-roles / certificate

Role for managing TLS/SSL certificate issuance and renewal
https://linux-system-roles.github.io/certificate/
MIT License
30 stars 20 forks source link

tests: Ensure ipaserver hostname is a FQDN #183

Closed rjeffman closed 1 year ago

rjeffman commented 1 year ago

As certificate system role uses an IPA server to test certmonger provider, the ipaserver node has to have a FQDN for IPA to be installed. For the RedHat family of distros, from CentOS/RHEL 7+ and newer, automatic detection of Ansible's hostname may not select 'systemd' strategy, failing to set the hostnade FQDN. This failure often happens when running the tests locally with 'qemu'.

This patch ensure that the 'systemd' strategy is used to set hostname.

rjeffman commented 1 year ago

[citest]