https://github.com/msteinhoff/ansible-java-keystore
Ansible role which manages certificates in the default Java keystore.
https://github.com/msteinhoff/ansible-java-keystore
Last synced: over 1 year ago
JSON representation
Ansible role which manages certificates in the default Java keystore.
- Host: GitHub
- URL: https://github.com/msteinhoff/ansible-java-keystore
- Owner: msteinhoff
- Created: 2016-03-24T23:40:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T16:00:00.000Z (over 8 years ago)
- Last Synced: 2025-01-12T10:28:56.574Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible-java-keystore
Ansible role which manages certificates in the default Java keystore.
# Dependencies
None.
# Role Variables
Available variables are listed below, along with default values (see
`defaults/main.yml`).
All variables have set sensible defaults and usually should not need any
configuration.
## General settings
java_keystore_jre_path: ""
Path to the keystore executable in the Java JRE.
Can be used together with `ansible-java-oracle-jdk`, e.g:
java_keystore_jre_path: "{{ java_oracle_jdk_install_directory }}/jre"
---
java_keystore_file_path: "{{ java_oracle_jdk_install_directory }}/jre/lib/security/cacerts"
File path to the keystore to manage. The Java default keystore can be found e.g. at:
java_keystore_file_path: "{{ java_oracle_jdk_install_directory }}/jre/lib/security/cacerts"
---
java_keystore_file_password: ""
The password for the keystore file.
Password for the default keystore is `changeit`.
java_keystore_certificates:
- certificate_file: "{{ playbook_dir }}/files/certificates/example.org"
alias: example.org
A list of cetificates to manage.
# Example Playbook
- hosts: keystore-hosts
roles:
- role: ansible-java-keystore
# License
MPLv2