Ansible role to manage Luna SA Hardware Security Module (HSM) client software
1ae2b5a261
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 |
||
---|---|---|
defaults | ||
tasks | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
AUTHORS | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
lunasa-hsm
A role to manage Thales Luna Network Hardware Security Module (HSM) clients.
Role Variables
This ansible role automates the configuration of a new client for the Thales Luna Network HSM.
Name | Default Value | Description |
---|---|---|
lunasa_client_working_dir | /tmp/lunasa_client_install | Working directory in the target host. |
lunasa_client_tarball_name | None | Filename for the Lunasa client software tarball. |
lunasa_client_tarball_location | None | Full URL where a copy of the client software tarball can be downloaded. |
lunasa_client_installer_path | None | Path to the instal.sh script inside the tarball. |
lunasa_client_pin | None | The HSM Partition Password (PKCS#11 PIN) to be used by the client. |
lunasa_client_ip | None | (Optional) When set, this role will use the given IP to register the client instead of the client's fqdn. |
lunasa_client_rotate_cert | False | When set to True, the role will generate a new client certificate to replace the previous one. |
lunasa_hsms | None | List of dictionaries, each of which describes a single HSM see vars.sample.yaml for details. When more than one HSM is listed here, the client will be configured in HA mode. |
Requirements
- ansible >= 2.4