new file 100644
---
- hosts: localhost
connection: local
gather_facts: false
tasks:
- name: Remove existing X.509 material
file:
path: "tests/data/.gimmecert"
state: absent
- name: Initialise the CA hierarchy
command: "gimmecert init --ca-hierarchy-depth 2"
args:
creates: "tests/data/.gimmecert"
chdir: "tests/data/"
- name: Link to the generated X.509 material
src: ".gimmecert"
dest: "tests/data/x509"
state: link