ansible-role-ipa-getcert/defaults/main.yml

26 lines
880 B
YAML
Raw Normal View History

2020-12-19 06:19:07 +00:00
---
2020-12-19 08:54:17 +00:00
# ansible default variables - most variables live here
2020-12-23 11:38:40 +00:00
ipa_getcert_key_default_location: "/etc/pki/tls/private/{{ ansible_fqdn }}.key"
ipa_getcert_cert_default_location: "/etc/pki/tls/certs/{{ ansible_fqdn }}.crt"
2020-12-20 01:12:34 +00:00
ipa_getcert_owner_default: root
2020-12-19 08:54:17 +00:00
# List of hostnames that should be requested
ipa_getcert_requested_hostnames:
2020-12-20 01:12:34 +00:00
- name: "{{ ansible_fqdn }}"
2020-12-23 11:38:40 +00:00
key_location: /etc/pki/tls/private/name.key
cert_location: /etc/pki/tls/certs/name.crt
2020-12-20 01:12:34 +00:00
# If you need a different ownership, you can setup the above sort of like this:
# ipa_getcert_requested_hostnames:
# - name: name
# postcmd: "/bin/systemctl restart ejabberd"
# owner: ejabberd
# key_location: /opt/ejabberd/conf/pki
# cert_location: /opt/ejabberd/conf/pki
# This feature coming soon
#ipa_getcert_fqdn_symlink: true
2020-12-19 08:54:17 +00:00
ipa_getcert_chain: false
ipa_getcert_chain_location: /etc/pki/tls/chains