Since setuptools release (61.0.0) ansible-role-lunasa-hsm's
package build command (python3 setup.py sdist bdist_wheel) is
finding 'defaults' directory as a python module and including
it in the built package. That's not correct as defaults is just
providing data files properly managed as data_files and there is no
actual python module, setup.py is just used as build/install tooling.
Change-Id: I759d63ede6b9d5ebedf3ccc7dcb808055a0d009a
This patch fixes a couple of issues that were causing the NTLS
connection to fail:
* Changed the CN used in the client cert to be the FQDN to ensure that
the CN and hostname match.
* Modified the scp commands to add the '-O' option to use the legacy scp
protocol.
Change-Id: I8996872d917ba9cbeaeb2a1c9a25e9db98713252
This patch fixes a permissions issue when attempting to run the
installation script from a /tpm directory with the 'noexec' bit set.
Change-Id: If9a2aebaaaf1435db615b15e02e8dc790d1a4781
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Id5f05171b1aa67e4f234ae60b2194031011343ec
The ansible_fqdn fact is no longer passed into the individual roles
in order to speed up deployments [0]. This changes alters the role
to use ansible_facts['fqdn'] which is the same.
* Updated tox.ini to include requirements.txt as well
* Updated tox.ini to skip no-changed-when error
[0]: https://bugs.launchpad.net/tripleo/+bug/1915761
Related-Bug: 1915761
Change-Id: I1314b0e39c4a36740c8ef0c867bbc6fe60409289
We added "mode: preserve" to the unarchive task to make the linter
happy, but it seems that it does not work as advertised as it
gives an error that "preserve" is an invalid value.
Change-Id: I0a9136857229411101028928948b69ad0f4ad921
This patch adds the ability to configure the Luna Network HSM
client to use more than one HSM for high availability (HA) mode.
Change-Id: If0eb393ca970206cc95c7453641f33781eb698b2