diff --git a/CHANGELOG.md b/CHANGELOG.md index eea4be4..6edfb5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- 'statedir' environment variable to support a newer version of the ca-certificates rpm + ### Dependencies - Bump `tj-actions/changed-files` from 42 to 44 ([#38](https://github.com/Cray-HPE/cf-cme-ca-cert/pull/38), [#39](https://github.com/Cray-HPE/cf-cme-ca-cert/pull/39)) diff --git a/ansible/roles/ca-cert/tasks/main.yml b/ansible/roles/ca-cert/tasks/main.yml index 9d62703..070aebc 100644 --- a/ansible/roles/ca-cert/tasks/main.yml +++ b/ansible/roles/ca-cert/tasks/main.yml @@ -1,7 +1,7 @@ # # MIT License # -# (C) Copyright 2019,2021-2022 Hewlett Packard Enterprise Development LP +# (C) Copyright 2019,2021-2024 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -51,9 +51,10 @@ ansible_distribution == "SLES" and ansible_distribution_version != "15.2" - - name: Run certificate update scripts command: "{{ item.path }}" + environment: + statedir: "/var/lib/ca-certificates" loop: "{{ ca_scripts.files }}" when: > ansible_distribution == "SLES" and