title: How to create a Truststore that includes all certificates from a folder with Ansible?
body: <p>I want to automate the task of creating a Truststore that includes all certificates from a directory.</p>
  
  <p>I only found an Ansible module that automates the creation of a Truststore with a predefined set of certificates (<a href="https://docs.ansible.com/ansible/2.5/modules/java_cert_module.html" rel="nofollow noreferrer">https://docs.ansible.com/ansible/2.5/modules/java_cert_module.html</a>). In contrast to that I want to have all certificates from a certain folder without describing each of it in the config.</p>