summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2025-01-08 04:17:35 +0100
committerGitHub <noreply@github.com>2025-01-08 04:17:35 +0100
commit3b772774288d7c579283f4853b945a33bebd1c02 (patch)
treeb3c4c0a209b84570fd66f839cd4d5fd66dc314c2
parentansible-test - Replace FreeBSD 14.1 with 14.2 (#84527) (diff)
downloadansible-3b772774288d7c579283f4853b945a33bebd1c02.tar.xz
ansible-3b772774288d7c579283f4853b945a33bebd1c02.zip
ansible-test - Fix FreeBSD instance CA certs (#84529)
Some versions and architectures come with `ca_root_nss` pre-installed. However, at least FreeBSD 13.4 on aarch64 does not. This change ensures the certificates will always be installed.
-rw-r--r--changelogs/fragments/ansible-test-freebsd-nss.yml2
-rw-r--r--test/lib/ansible_test/_util/target/setup/bootstrap.sh1
2 files changed, 3 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-freebsd-nss.yml b/changelogs/fragments/ansible-test-freebsd-nss.yml
new file mode 100644
index 0000000000..d879bb0c2b
--- /dev/null
+++ b/changelogs/fragments/ansible-test-freebsd-nss.yml
@@ -0,0 +1,2 @@
+bugfixes:
+ - ansible-test - Ensure CA certificates are installed on managed FreeBSD instances.
diff --git a/test/lib/ansible_test/_util/target/setup/bootstrap.sh b/test/lib/ansible_test/_util/target/setup/bootstrap.sh
index fc2b970f0a..ec2acd3dcc 100644
--- a/test/lib/ansible_test/_util/target/setup/bootstrap.sh
+++ b/test/lib/ansible_test/_util/target/setup/bootstrap.sh
@@ -154,6 +154,7 @@ bootstrap_remote_freebsd()
py${python_package_version}-sqlite3
py${python_package_version}-setuptools
bash
+ ca_root_nss
curl
gtar
sudo